This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
diff --git a/archival/gzip.c b/archival/gzip.c
index 75f3caa..3cbef4e 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -1812,7 +1812,7 @@
case 'd':
exit(gunzip_main(argc, argv));
default:
- usage(gzip_usage);
+ show_usage();
}
}
}
@@ -1865,7 +1865,7 @@
} else {
/* Open up the input file */
if (argc <= 0)
- usage(gzip_usage);
+ show_usage();
strncpy(ifname, *argv, MAX_PATH_LEN);
/* Open input file */