summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-08-01 16:04:40 +0000
committerPaul Fox <pgf@brightstareng.com>2005-08-01 16:04:40 +0000
commit79c142d93847c168b825858f4e372e10c7e32906 (patch)
tree0080e21973368e7f3b2c510d29c411b50fee0488 /include
parenta39bba33c8649a6be42d5a511a4ac909a8998f90 (diff)
new config display applet, from bug 46. i've changed the name
of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 6bce2ee75..8ef5f460f 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -76,6 +76,9 @@
#ifdef CONFIG_BASENAME
APPLET(basename, basename_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_BBCONFIG
+ APPLET(bbconfig, bbconfig_main, _BB_DIR_BIN, _BB_SUID_NEVER)
+#endif
#ifdef CONFIG_BUNZIP2
APPLET(bunzip2, bunzip2_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#endif
diff --git a/include/usage.h b/include/usage.h
index 21980eeba..291ccb91a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -231,6 +231,11 @@
"\t-2\tSuppress lines unique to FILE2\n" \
"\t-3\tSuppress lines common to both files"
+#define bbconfig_trivial_usage \
+ ""
+#define bbconfig_full_usage \
+ "Print the config file which built busybox\n"
+
#define cp_trivial_usage \
"[OPTION]... SOURCE DEST"
#define cp_full_usage \