diff options
author | Matt Kraai <kraai@debian.org> | 2001-03-27 21:57:29 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-03-27 21:57:29 +0000 |
commit | a2e68fc23319d77789cae6eca899f328d15368a5 (patch) | |
tree | e578d9606a12b0d129894e5069d09edc8ebaf3ab | |
parent | 5b8939b1472d163c4bdd459554d0a6b329a06d97 (diff) | |
download | busybox-w32-a2e68fc23319d77789cae6eca899f328d15368a5.tar.gz busybox-w32-a2e68fc23319d77789cae6eca899f328d15368a5.tar.bz2 busybox-w32-a2e68fc23319d77789cae6eca899f328d15368a5.zip |
Change BB_FEATURE_TRIVIAL_HELP to BB_FEATURE_VERBOSE_USAGE (per bug #1130).
-rw-r--r-- | Config.h | 5 | ||||
-rw-r--r-- | Config.h.Hurd | 5 | ||||
-rw-r--r-- | applets.h | 10 | ||||
-rw-r--r-- | debian/Config.h-deb | 5 | ||||
-rw-r--r-- | debian/Config.h-static | 5 | ||||
-rw-r--r-- | debian/Config.h-udeb | 5 | ||||
-rw-r--r-- | include/applets.h | 10 |
7 files changed, 20 insertions, 25 deletions
@@ -153,9 +153,8 @@ | |||
153 | // I emailed Linus and this patch will not be going into the stock kernel. | 153 | // I emailed Linus and this patch will not be going into the stock kernel. |
154 | //#define BB_FEATURE_USE_DEVPS_PATCH | 154 | //#define BB_FEATURE_USE_DEVPS_PATCH |
155 | // | 155 | // |
156 | // This compiles out everything but the most | 156 | // show verbose usage messages |
157 | // trivial --help usage information (i.e. reduces binary size) | 157 | //#define BB_FEATURE_VERBOSE_USAGE |
158 | #define BB_FEATURE_TRIVIAL_HELP | ||
159 | // | 158 | // |
160 | // Use termios to manipulate the screen ('more' is prettier with this on) | 159 | // Use termios to manipulate the screen ('more' is prettier with this on) |
161 | //#define BB_FEATURE_USE_TERMIOS | 160 | //#define BB_FEATURE_USE_TERMIOS |
diff --git a/Config.h.Hurd b/Config.h.Hurd index 8ae9f9f1b..369e376cd 100644 --- a/Config.h.Hurd +++ b/Config.h.Hurd | |||
@@ -144,9 +144,8 @@ | |||
144 | // at the same time... | 144 | // at the same time... |
145 | #define BB_FEATURE_USE_PROCFS | 145 | #define BB_FEATURE_USE_PROCFS |
146 | // | 146 | // |
147 | // This compiles out everything but the most | 147 | // show verbose usage messages |
148 | // trivial --help usage information (i.e. reduces binary size) | 148 | #define BB_FEATURE_VERBOSE_USAGE |
149 | //#define BB_FEATURE_TRIVIAL_HELP | ||
150 | // | 149 | // |
151 | // Use termios to manipulate the screen ('more' is prettier with this on) | 150 | // Use termios to manipulate the screen ('more' is prettier with this on) |
152 | #define BB_FEATURE_USE_TERMIOS | 151 | #define BB_FEATURE_USE_TERMIOS |
@@ -21,14 +21,14 @@ | |||
21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); | 21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); |
22 | extern const char usage_messages[]; | 22 | extern const char usage_messages[]; |
23 | #elif defined(MAKE_USAGE) | 23 | #elif defined(MAKE_USAGE) |
24 | #ifdef BB_FEATURE_TRIVIAL_HELP | 24 | #ifdef BB_FEATURE_VERBOSE_USAGE |
25 | #define APPLET(a,b,c) a##_trivial_usage "\0" | ||
26 | #define APPLET_NOUSAGE(a,b,c) "\0" | ||
27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" | ||
28 | #else | ||
29 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" | 25 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" |
30 | #define APPLET_NOUSAGE(a,b,c) "\0" | 26 | #define APPLET_NOUSAGE(a,b,c) "\0" |
31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" | 27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" |
28 | #else | ||
29 | #define APPLET(a,b,c) a##_trivial_usage "\0" | ||
30 | #define APPLET_NOUSAGE(a,b,c) "\0" | ||
31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" | ||
32 | #endif | 32 | #endif |
33 | #elif defined(MAKE_LINKS) | 33 | #elif defined(MAKE_LINKS) |
34 | # define APPLET(a,b,c) LINK c a | 34 | # define APPLET(a,b,c) LINK c a |
diff --git a/debian/Config.h-deb b/debian/Config.h-deb index edce191c8..075e23557 100644 --- a/debian/Config.h-deb +++ b/debian/Config.h-deb | |||
@@ -152,9 +152,8 @@ | |||
152 | // I emailed Linus and this patch will not be going into the stock kernel. | 152 | // I emailed Linus and this patch will not be going into the stock kernel. |
153 | //#define BB_FEATURE_USE_DEVPS_PATCH | 153 | //#define BB_FEATURE_USE_DEVPS_PATCH |
154 | // | 154 | // |
155 | // This compiles out everything but the most | 155 | // show verbose usage messages |
156 | // trivial --help usage information (i.e. reduces binary size) | 156 | //#define BB_FEATURE_VERBOSE_USAGE |
157 | #define BB_FEATURE_TRIVIAL_HELP | ||
158 | // | 157 | // |
159 | // Use termios to manipulate the screen ('more' is prettier with this on) | 158 | // Use termios to manipulate the screen ('more' is prettier with this on) |
160 | #define BB_FEATURE_USE_TERMIOS | 159 | #define BB_FEATURE_USE_TERMIOS |
diff --git a/debian/Config.h-static b/debian/Config.h-static index aa634beaa..fc89e329d 100644 --- a/debian/Config.h-static +++ b/debian/Config.h-static | |||
@@ -152,9 +152,8 @@ | |||
152 | // I emailed Linus and this patch will not be going into the stock kernel. | 152 | // I emailed Linus and this patch will not be going into the stock kernel. |
153 | //#define BB_FEATURE_USE_DEVPS_PATCH | 153 | //#define BB_FEATURE_USE_DEVPS_PATCH |
154 | // | 154 | // |
155 | // This compiles out everything but the most | 155 | // show verbose usage messages |
156 | // trivial --help usage information (i.e. reduces binary size) | 156 | #define BB_FEATURE_VERBOSE_USAGE |
157 | //#define BB_FEATURE_TRIVIAL_HELP | ||
158 | // | 157 | // |
159 | // Use termios to manipulate the screen ('more' is prettier with this on) | 158 | // Use termios to manipulate the screen ('more' is prettier with this on) |
160 | #define BB_FEATURE_USE_TERMIOS | 159 | #define BB_FEATURE_USE_TERMIOS |
diff --git a/debian/Config.h-udeb b/debian/Config.h-udeb index c13edaf4d..4028a71da 100644 --- a/debian/Config.h-udeb +++ b/debian/Config.h-udeb | |||
@@ -152,9 +152,8 @@ | |||
152 | // I emailed Linus and this patch will not be going into the stock kernel. | 152 | // I emailed Linus and this patch will not be going into the stock kernel. |
153 | //#define BB_FEATURE_USE_DEVPS_PATCH | 153 | //#define BB_FEATURE_USE_DEVPS_PATCH |
154 | // | 154 | // |
155 | // This compiles out everything but the most | 155 | // show verbose usage messages |
156 | // trivial --help usage information (i.e. reduces binary size) | 156 | //#define BB_FEATURE_VERBOSE_USAGE |
157 | #define BB_FEATURE_TRIVIAL_HELP | ||
158 | // | 157 | // |
159 | // Use termios to manipulate the screen ('more' is prettier with this on) | 158 | // Use termios to manipulate the screen ('more' is prettier with this on) |
160 | #define BB_FEATURE_USE_TERMIOS | 159 | #define BB_FEATURE_USE_TERMIOS |
diff --git a/include/applets.h b/include/applets.h index 2af2b49e7..0ab296312 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -21,14 +21,14 @@ | |||
21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); | 21 | #define APPLET_ODDNAME(a,b,c,d) extern int b(int argc, char **argv); |
22 | extern const char usage_messages[]; | 22 | extern const char usage_messages[]; |
23 | #elif defined(MAKE_USAGE) | 23 | #elif defined(MAKE_USAGE) |
24 | #ifdef BB_FEATURE_TRIVIAL_HELP | 24 | #ifdef BB_FEATURE_VERBOSE_USAGE |
25 | #define APPLET(a,b,c) a##_trivial_usage "\0" | ||
26 | #define APPLET_NOUSAGE(a,b,c) "\0" | ||
27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" | ||
28 | #else | ||
29 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" | 25 | #define APPLET(a,b,c) a##_trivial_usage "\n\n" a##_full_usage "\0" |
30 | #define APPLET_NOUSAGE(a,b,c) "\0" | 26 | #define APPLET_NOUSAGE(a,b,c) "\0" |
31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" | 27 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\n\n" d##_full_usage "\0" |
28 | #else | ||
29 | #define APPLET(a,b,c) a##_trivial_usage "\0" | ||
30 | #define APPLET_NOUSAGE(a,b,c) "\0" | ||
31 | #define APPLET_ODDNAME(a,b,c,d) d##_trivial_usage "\0" | ||
32 | #endif | 32 | #endif |
33 | #elif defined(MAKE_LINKS) | 33 | #elif defined(MAKE_LINKS) |
34 | # define APPLET(a,b,c) LINK c a | 34 | # define APPLET(a,b,c) LINK c a |