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.
This commit is contained in:
4
gzip.c
4
gzip.c
@ -1812,7 +1812,7 @@ int gzip_main(int argc, char **argv)
|
||||
case 'd':
|
||||
exit(gunzip_main(argc, argv));
|
||||
default:
|
||||
usage(gzip_usage);
|
||||
show_usage();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1865,7 +1865,7 @@ int gzip_main(int argc, char **argv)
|
||||
} else {
|
||||
/* Open up the input file */
|
||||
if (argc <= 0)
|
||||
usage(gzip_usage);
|
||||
show_usage();
|
||||
strncpy(ifname, *argv, MAX_PATH_LEN);
|
||||
|
||||
/* Open input file */
|
||||
|
Reference in New Issue
Block a user