aboutsummaryrefslogtreecommitdiff
path: root/gunzip.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-02-14 21:23:06 +0000
commite171a359ad2de7143fd6ad25bed00304af1094ec (patch)
treea0b652f3dc794d1050c1a8de3afb014a621238fa /gunzip.c
parent76ed9456991d2fbfcb6348953a579ee8fce06f1b (diff)
downloadbusybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.gz
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.tar.bz2
busybox-w32-e171a359ad2de7143fd6ad25bed00304af1094ec.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'gunzip.c')
-rw-r--r--gunzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gunzip.c b/gunzip.c
index 48a46083b..bf8812dbd 100644
--- a/gunzip.c
+++ b/gunzip.c
@@ -1250,7 +1250,7 @@ int gunzip_main(int argc, char **argv)
1250 force = 1; 1250 force = 1;
1251 break; 1251 break;
1252 default: 1252 default:
1253 usage(gunzip_usage); 1253 show_usage();
1254 } 1254 }
1255 } 1255 }
1256 } 1256 }
@@ -1275,7 +1275,7 @@ int gunzip_main(int argc, char **argv)
1275 } else { 1275 } else {
1276 /* Open up the input file */ 1276 /* Open up the input file */
1277 if (argc <= 0) 1277 if (argc <= 0)
1278 usage(gunzip_usage); 1278 show_usage();
1279 if (strlen(*argv) > MAX_PATH_LEN) { 1279 if (strlen(*argv) > MAX_PATH_LEN) {
1280 error_msg(name_too_long); 1280 error_msg(name_too_long);
1281 exit(WARNING); 1281 exit(WARNING);