diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-08 11:08:49 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-09-08 11:08:49 +0300 |
commit | dccb3806a6e9fcf50952b9d3cc96c6591acbd076 (patch) | |
tree | eec8ed84a5211365a38184ebdd7f9cb5ef5cd2c3 /gnulib.modules | |
parent | 0d8e3249123ecf0175b60c7b43056ac811eb6921 (diff) | |
download | tar-dccb3806a6e9fcf50952b9d3cc96c6591acbd076.tar.gz |
Improve command line option handling.
* 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.
Diffstat (limited to 'gnulib.modules')
-rw-r--r-- | gnulib.modules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnulib.modules b/gnulib.modules index 9ec354fb..d5ebce5e 100644 --- a/gnulib.modules +++ b/gnulib.modules @@ -4,6 +4,7 @@ alloca argmatch argp +argp-version-etc backupfile canonicalize closeout @@ -19,7 +20,7 @@ ftruncate full-write getdate getline -getopt +getopt-gnu getpagesize gettext gettime @@ -33,6 +34,7 @@ mkdtemp modechange obstack priv-set +progname quote quotearg rpmatch |