Bernhard Voelker
44af84263e
all: detect --help and --version more consistently
...
For select programs which accept only --help and --version options
(in addition to non-option arguments), process these options before
any other options.
Before:
$ dd bs=1 --help
dd: unrecognized option '--help'
Try 'dd --help' for more information.
$ yes me --help
me --help
me --help
...
After:
Any occurrence of '--help' in the arguments (prior to '--') will
show the help screen.
Discussed in https://bugs.gnu.org/33468 .
* NEWS: Mention change.
* src/cksum.c, src/dd.c, src/hostid.c, src/hostname.c, src/link.c,
src/logname.c, src/nohup.c, src/sleep.c, src/tsort.c, src/unlink.c,
src/uptime.c, src/users.c, src/whoami.c, src/yes.c (main): Replace
parse_long_options() + getopt_long() calls with
parse_gnu_standard_options_only(); Remove <getopt.h> inclusion;
Remove empty 'struct long_options' variable;
* tests/misc/help-version-getopt.sh: Add test.
* tests/local.mk (all_tests): Reference it.
2019-02-24 19:32:29 +01:00
..
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-02-11 22:56:21 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-02-24 19:32:29 +01:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-02-11 22:56:21 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-20 12:53:24 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-20 12:53:24 -08:00
2019-01-01 16:51:48 -07:00
2019-02-03 17:18:08 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-30 17:49:05 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-02-17 19:17:17 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-02-10 20:32:59 -08:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00
2019-01-01 16:51:48 -07:00