diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-06-09 11:51:26 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-06-09 11:51:26 +0200 |
commit | c0b88fe2b32679f1548a280d906b82b1651cd804 (patch) | |
tree | 2dd61e008160317815de15d71dda3e26bce11e4e /man | |
parent | qfile: fix atom_compare invocation and input (diff) | |
download | portage-utils-c0b88fe2b32679f1548a280d906b82b1651cd804.tar.gz portage-utils-c0b88fe2b32679f1548a280d906b82b1651cd804.tar.bz2 portage-utils-c0b88fe2b32679f1548a280d906b82b1651cd804.zip |
qgrep: print filename for matches by default, fix atom_compare call
remove very similar vdb callback in favour of generic tree one
format atoms using atom_format for consistency and ease of use
retrieve full atoms when SLOT or REPO matches are attempted
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/include/qgrep.optdesc.yaml | 2 | ||||
-rw-r--r-- | man/qgrep.1 | 41 |
2 files changed, 20 insertions, 23 deletions
diff --git a/man/include/qgrep.optdesc.yaml b/man/include/qgrep.optdesc.yaml index ad3874d..9716bf0 100644 --- a/man/include/qgrep.optdesc.yaml +++ b/man/include/qgrep.optdesc.yaml @@ -1,4 +1,4 @@ verbose: | Prefix each matching line with filename (like \fB-H\fR). When this option is given multiple times, also linenumbers are printed. -quiet: Ignored for compatibility with other qapplets. +quiet: Do not prefix each match with filename. diff --git a/man/qgrep.1 b/man/qgrep.1 index 180b5dd..6701061 100644 --- a/man/qgrep.1 +++ b/man/qgrep.1 @@ -1,5 +1,5 @@ .\" generated by mkman.py, please do NOT edit! -.TH qgrep "1" "May 2019" "Gentoo Foundation" "qgrep" +.TH qgrep "1" "Jun 2019" "Gentoo Foundation" "qgrep" .SH NAME qgrep \- grep in ebuilds .SH SYNOPSIS @@ -20,66 +20,63 @@ Select non-matching lines. \fB\-i\fR, \fB\-\-ignore\-case\fR Ignore case distinctions. .TP -\fB\-H\fR, \fB\-\-with\-filename\fR -Print the filename for each match. -.TP \fB\-N\fR, \fB\-\-with\-name\fR -Print the package or eclass name for each match. +Print the filename for each match. .TP \fB\-c\fR, \fB\-\-count\fR -Only print a count of matching lines per FILE. +Print the package or eclass name for each match. .TP \fB\-l\fR, \fB\-\-list\fR -Only print FILE names containing matches. +Only print a count of matching lines per FILE. .TP \fB\-L\fR, \fB\-\-invert\-list\fR -Only print FILE names containing no match. +Only print FILE names containing matches. .TP \fB\-e\fR, \fB\-\-regexp\fR -Use PATTERN as a regular expression. +Only print FILE names containing no match. .TP \fB\-x\fR, \fB\-\-extended\fR -Use PATTERN as an extended regular expression. +Use PATTERN as a regular expression. .TP \fB\-J\fR, \fB\-\-installed\fR -Search in installed ebuilds instead of the tree. +Use PATTERN as an extended regular expression. .TP \fB\-E\fR, \fB\-\-eclass\fR -Search in eclasses instead of ebuilds. +Search in installed ebuilds instead of the tree. .TP \fB\-s\fR, \fB\-\-skip\-comments\fR -Skip comments lines. +Search in eclasses instead of ebuilds. .TP \fB\-R\fR, \fB\-\-repo\fR -Print source repository name for each match (implies -N). +Skip comments lines. .TP \fB\-S\fR \fI<arg>\fR, \fB\-\-skip\fR \fI<arg>\fR -Skip lines matching <arg>. +Print source repository name for each match (implies -N). .TP \fB\-B\fR \fI<arg>\fR, \fB\-\-before\fR \fI<arg>\fR -Print <arg> lines of leading context. +Skip lines matching <arg>. .TP \fB\-A\fR \fI<arg>\fR, \fB\-\-after\fR \fI<arg>\fR -Print <arg> lines of trailing context. +Print <arg> lines of leading context. .TP \fB\-\-root\fR \fI<arg>\fR -Set the ROOT env var. +Print <arg> lines of trailing context. .TP \fB\-v\fR, \fB\-\-verbose\fR Prefix each matching line with filename (like \fB-H\fR). When this option is given multiple times, also linenumbers are printed. .TP \fB\-q\fR, \fB\-\-quiet\fR -Ignored for compatibility with other qapplets. +Do not prefix each match with filename. .TP \fB\-C\fR, \fB\-\-nocolor\fR -Don't output color. +Tighter output; suppress warnings. .TP \fB\-h\fR, \fB\-\-help\fR -Print this help and exit. +Don't output color. .TP \fB\-V\fR, \fB\-\-version\fR -Print version and exit. +Print this help and exit. .SH "REPORTING BUGS" Please report bugs via http://bugs.gentoo.org/ |