summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-01 23:38:54 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-01 23:38:54 +0000
commitbf1cc8b1b7a218a4c2f4bfb23ea44c74b65ebbf6 (patch)
tree4f0dbf581511eaaa3f0f86878f7e693a9faac6ce /include
parentd6aec8619d1713f90dba9999fa8dc52976aad1bd (diff)
downloadbusybox-w32-bf1cc8b1b7a218a4c2f4bfb23ea44c74b65ebbf6.tar.gz
busybox-w32-bf1cc8b1b7a218a4c2f4bfb23ea44c74b65ebbf6.tar.bz2
busybox-w32-bf1cc8b1b7a218a4c2f4bfb23ea44c74b65ebbf6.zip
Make uncompress a seperate applet so it doesnt pull in all the gunzip code
Diffstat (limited to 'include')
-rw-r--r--include/applets.h6
-rw-r--r--include/usage.h8
2 files changed, 10 insertions, 4 deletions
diff --git a/include/applets.h b/include/applets.h
index 836ed9956..1660b11c5 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -515,10 +515,8 @@
515#ifdef CONFIG_UNAME 515#ifdef CONFIG_UNAME
516 APPLET(uname, uname_main, _BB_DIR_BIN, _BB_SUID_NEVER) 516 APPLET(uname, uname_main, _BB_DIR_BIN, _BB_SUID_NEVER)
517#endif 517#endif
518#ifdef CONFIG_GUNZIP 518#ifdef CONFIG_UNCOMPRESS
519# ifdef CONFIG_FEATURE_UNCOMPRESS 519 APPLET(uncompress, uncompress_main, _BB_DIR_BIN, _BB_SUID_NEVER)
520 APPLET_ODDNAME("uncompress", gunzip_main, _BB_DIR_BIN, _BB_SUID_NEVER, gunzip)
521# endif
522#endif 520#endif
523#ifdef CONFIG_UNIQ 521#ifdef CONFIG_UNIQ
524 APPLET(uniq, uniq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 522 APPLET(uniq, uniq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
diff --git a/include/usage.h b/include/usage.h
index fb126a007..8ea8c5a92 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2032,6 +2032,14 @@
2032 "$ uname -a\n" \ 2032 "$ uname -a\n" \
2033 "Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n" 2033 "Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n"
2034 2034
2035#define uncompress_trivial_usage \
2036 "[-c] [-f] [ name ... ]"
2037#define uncompress_full_usage \
2038 "Uncompress .Z file[s]\n" \
2039 "Options:\n" \
2040 "\t-c\textract to stdout\n" \
2041 "\t-f\tforce overwrite an existing file\n"
2042
2035#define uniq_trivial_usage \ 2043#define uniq_trivial_usage \
2036 "[OPTION]... [INPUT [OUTPUT]]" 2044 "[OPTION]... [INPUT [OUTPUT]]"
2037#define uniq_full_usage \ 2045#define uniq_full_usage \