From: Sergey Poznyakoff Date: Tue, 8 Sep 2009 08:08:49 +0000 (+0300) Subject: Improve command line option handling. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=dccb3806a6e9fcf50952b9d3cc96c6591acbd076;hp=dccb3806a6e9fcf50952b9d3cc96c6591acbd076;p=chaz%2Ftar 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. ---