* 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
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"
" -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);
}