]> Dogcows Code - chaz/tar/commit
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)
commitdccb3806a6e9fcf50952b9d3cc96c6591acbd076
treeeec8ed84a5211365a38184ebdd7f9cb5ef5cd2c3
parent0d8e3249123ecf0175b60c7b43056ac811eb6921
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.
gnulib.modules
src/tar.c
This page took 0.021266 seconds and 4 git commands to generate.