]> Dogcows Code - chaz/tar/commitdiff
Improve command line option handling.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 08:08:49 +0000 (11:08 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 08:08:49 +0000 (11:08 +0300)
* gnulib.modules: Add argp-version-etc and progname,
use getopt-gnu instead of getopt.
* src/tar.c (HANG_OPTION, USAGE_OPTION)
(VERSION_OPTION): Remove.
(options): Remove corresponding options. Let argp
handle them.
(parse_opt): Likewise.
(_argp_hang): Removed.
(tar_authors): New variable.
(decode_options): Call argp_version_setup.
Do not use ARGP_NO_HELP flag in the call to argp_parse.


No differences found
This page took 0.021037 seconds and 4 git commands to generate.