From: Josh Triplett Date: Fri, 28 Nov 2008 03:10:56 +0000 (-0800) Subject: zgz: Fix usage message to stop identifying the program as gzip X-Git-Tag: 0.19~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebf94ffe82f319c315b43a89c36cb03c6b512e4b;p=tools%2Fpristine-tar.git zgz: Fix usage message to stop identifying the program as gzip --- diff --git a/debian/changelog b/debian/changelog index b1ad5e5..fa1babb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,7 @@ pristine-tar (0.19) unstable; urgency=low * Remove the unnecessary -l, -t, and -v flags from zgz. * Allow the empty string as an original filename in zgz, rather than treating the empty string as a flag to not store an original filename. + * Fix zgz's usage message to stop identifying the program as gzip. -- Josh Triplett Thu, 27 Nov 2008 19:54:29 -0800 diff --git a/zgz.c b/zgz.c index a9f9795..ea5f7cf 100644 --- a/zgz.c +++ b/zgz.c @@ -836,14 +836,14 @@ handle_file(char *file, char *origname, struct stat *sbp) usize = sbp->st_size; } -/* display the usage of NetBSD gzip */ +/* display usage */ static void usage(void) { fprintf(stderr, "%s\n", gzip_version); fprintf(stderr, - "usage: %s [--gnu | --zlib] [-" OPT_LIST "] [ [ ...]]\n" + "usage: zgz [--gnu | --zlib] [-" OPT_LIST "] [ [ ...]]\n" " --gnu use GNU gzip (/bin/gzip)\n" " --zlib use zlib's implementation (default)\n" " -1 --fast fastest (worst) compression\n" @@ -865,8 +865,7 @@ usage(void) " -o NAME\n" " --original-name NAME use NAME as the original file name\n" " -k --quirk QUIRK enable a format quirk (buggy-bsd, ntfs)\n" - " -s --osflag set the OS flag to something different than 03 (Unix)\n", - "gzip"); + " -s --osflag set the OS flag to something different than 03 (Unix)\n"); exit(0); }