Commit 42fdf86
show-ref: stop using PARSE_OPT_NO_INTERNAL_HELP
The flag PARSE_OPT_NO_INTERNAL_HELP is set to allow overriding the
option -h, except when it's the only one given. This is the default
behavior now, so remove the flag and the hand-rolled --help-all
handling. The internal --help-all handler now actually shows hidden
options, i.e. -h in this case.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Jeff King <peff@peff.net>1 parent 4441549 commit 42fdf86
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | 164 | | |
170 | 165 | | |
171 | 166 | | |
| |||
186 | 181 | | |
187 | 182 | | |
188 | 183 | | |
189 | | - | |
190 | | - | |
191 | 184 | | |
192 | 185 | | |
193 | 186 | | |
194 | 187 | | |
195 | 188 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | 189 | | |
200 | | - | |
| 190 | + | |
201 | 191 | | |
202 | 192 | | |
203 | 193 | | |
| |||
0 commit comments