zgz: Fix usage message to stop identifying the program as gzip
authorJosh Triplett <josh@freedesktop.org>
Fri, 28 Nov 2008 03:10:56 +0000 (19:10 -0800)
committerJosh Triplett <josh@freedesktop.org>
Fri, 28 Nov 2008 04:00:55 +0000 (20:00 -0800)
debian/changelog
zgz.c

index b1ad5e586c15d71f845a894476e8e52bb962e652..fa1babb993b5d9c89f3dae19b3eabf2177aa0b92 100644 (file)
@@ -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 <josh@freedesktop.org>  Thu, 27 Nov 2008 19:54:29 -0800
 
diff --git a/zgz.c b/zgz.c
index a9f979541bc0eb7e54be7fb1cfa3aea52e842862..ea5f7cfccc5cc6ac29c86891423115b512d30714 100644 (file)
--- 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 "] [<file> [<file> ...]]\n"
+    "usage: zgz [--gnu | --zlib] [-" OPT_LIST "] [<file> [<file> ...]]\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);
 }