Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/
Date: Mon, 02 Apr 2018 18:59:38
Message-Id: 1522695542.7de177d7ac1dff248f91e45bfdc3163629dae79e.grobian@gentoo
1 commit: 7de177d7ac1dff248f91e45bfdc3163629dae79e
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 2 18:59:02 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 18:59:02 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=7de177d7
7
8 qgrep: improve documentation
9
10 Bug: https://bugs.gentoo.org/645554
11
12 man/include/qgrep.desc | 3 +++
13 man/include/qgrep.optdesc.yaml | 5 ++++
14 man/qgrep.1 | 54 +++++++++++++++++++++++-------------------
15 3 files changed, 38 insertions(+), 24 deletions(-)
16
17 diff --git a/man/include/qgrep.desc b/man/include/qgrep.desc
18 new file mode 100644
19 index 0000000..c95d35a
20 --- /dev/null
21 +++ b/man/include/qgrep.desc
22 @@ -0,0 +1,3 @@
23 +\fIqgrep\fR searches for a given pattern in all ebuilds of the current
24 +portage tree. Optionally the search is in all eclasses, or just in the
25 +ebuilds that are currently installed.
26
27 diff --git a/man/include/qgrep.optdesc.yaml b/man/include/qgrep.optdesc.yaml
28 new file mode 100644
29 index 0000000..87b174e
30 --- /dev/null
31 +++ b/man/include/qgrep.optdesc.yaml
32 @@ -0,0 +1,5 @@
33 +verbose: |
34 + Print multiple matches per files. When this option is given
35 + multiple times, also linenumber are printed for matches next to file
36 + names.
37 +quiet: Ignored for compatibility with other qapplets.
38
39 diff --git a/man/qgrep.1 b/man/qgrep.1
40 index e31e45a..bd140b3 100644
41 --- a/man/qgrep.1
42 +++ b/man/qgrep.1
43 @@ -1,80 +1,86 @@
44 -.TH qgrep "1" "Mar 2016" "Gentoo Foundation" "qgrep"
45 +.\" generated by mkman.py, please do NOT edit!
46 +.TH qgrep "1" "Apr 2018" "Gentoo Foundation" "qgrep"
47 .SH NAME
48 qgrep \- grep in ebuilds
49 .SH SYNOPSIS
50 .B qgrep
51 \fI[opts] <misc args>\fR
52 .SH DESCRIPTION
53 -
54 +\fIqgrep\fR searches for a given pattern in all ebuilds of the current
55 +portage tree. Optionally the search is in all eclasses, or just in the
56 +ebuilds that are currently installed.
57 .SH OPTIONS
58 .TP
59 \fB\-I\fR, \fB\-\-invert\-match\fR
60 -Select non-matching lines
61 +Select non-matching lines.
62 .TP
63 \fB\-i\fR, \fB\-\-ignore\-case\fR
64 -Ignore case distinctions
65 +Ignore case distinctions.
66 .TP
67 \fB\-H\fR, \fB\-\-with\-filename\fR
68 -Print the filename for each match
69 +Print the filename for each match.
70 .TP
71 \fB\-N\fR, \fB\-\-with\-name\fR
72 -Print the package or eclass name for each match
73 +Print the package or eclass name for each match.
74 .TP
75 \fB\-c\fR, \fB\-\-count\fR
76 -Only print a count of matching lines per FILE
77 +Only print a count of matching lines per FILE.
78 .TP
79 \fB\-l\fR, \fB\-\-list\fR
80 -Only print FILE names containing matches
81 +Only print FILE names containing matches.
82 .TP
83 \fB\-L\fR, \fB\-\-invert\-list\fR
84 -Only print FILE names containing no match
85 +Only print FILE names containing no match.
86 .TP
87 \fB\-e\fR, \fB\-\-regexp\fR
88 -Use PATTERN as a regular expression
89 +Use PATTERN as a regular expression.
90 .TP
91 \fB\-x\fR, \fB\-\-extended\fR
92 -Use PATTERN as an extended regular expression
93 +Use PATTERN as an extended regular expression.
94 .TP
95 \fB\-J\fR, \fB\-\-installed\fR
96 -Search in installed ebuilds instead of the tree
97 +Search in installed ebuilds instead of the tree.
98 .TP
99 \fB\-E\fR, \fB\-\-eclass\fR
100 -Search in eclasses instead of ebuilds
101 +Search in eclasses instead of ebuilds.
102 .TP
103 \fB\-s\fR, \fB\-\-skip\-comments\fR
104 -Skip comments lines
105 +Skip comments lines.
106 .TP
107 \fB\-S\fR \fI<arg>\fR, \fB\-\-skip\fR \fI<arg>\fR
108 -Skip lines matching <arg>
109 +Skip lines matching <arg>.
110 .TP
111 \fB\-B\fR \fI<arg>\fR, \fB\-\-before\fR \fI<arg>\fR
112 -Print <arg> lines of leading context
113 +Print <arg> lines of leading context.
114 .TP
115 \fB\-A\fR \fI<arg>\fR, \fB\-\-after\fR \fI<arg>\fR
116 -Print <arg> lines of trailing context
117 +Print <arg> lines of trailing context.
118 .TP
119 \fB\-\-root\fR \fI<arg>\fR
120 -Set the ROOT env var
121 +Set the ROOT env var.
122 .TP
123 \fB\-v\fR, \fB\-\-verbose\fR
124 -Make a lot of noise
125 +Print multiple matches per files. When this option is given
126 +multiple times, also linenumber are printed for matches next to file
127 +names.
128 .TP
129 \fB\-q\fR, \fB\-\-quiet\fR
130 -Tighter output; suppress warnings
131 +Ignored for compatibility with other qapplets.
132 .TP
133 \fB\-C\fR, \fB\-\-nocolor\fR
134 -Don't output color
135 +Don't output color.
136 .TP
137 \fB\-h\fR, \fB\-\-help\fR
138 -Print this help and exit
139 +Print this help and exit.
140 .TP
141 \fB\-V\fR, \fB\-\-version\fR
142 -Print version and exit
143 +Print version and exit.
144
145 .SH "REPORTING BUGS"
146 Please report bugs via http://bugs.gentoo.org/
147 .br
148 -Product: Portage Development; Component: Tools
149 +Product: Portage Development; Component: Tools, Assignee:
150 +portage-utils@g.o
151 .SH AUTHORS
152 .nf
153 Ned Ludd <solar@g.o>