diff options
author | Mike Frysinger | 2005-04-21 23:29:24 +0000 |
---|---|---|
committer | Mike Frysinger | 2005-04-21 23:29:24 +0000 |
commit | 95d3c4503fa8c4f4289b81f50f52657e112e0234 (patch) | |
tree | 383ba6ed6c937f8dd6a6160206d937e146b50dd7 | |
parent | 4a2117027f12c43b93e4221f636074c881206a2d (diff) | |
download | busybox-95d3c4503fa8c4f4289b81f50f52657e112e0234.zip busybox-95d3c4503fa8c4f4289b81f50f52657e112e0234.tar.gz |
printenv / sum defines
-rw-r--r-- | include/applets.h | 6 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index e5b19e0..462d918 100644 --- a/include/applets.h +++ b/include/applets.h @@ -452,6 +452,9 @@ #ifdef CONFIG_POWEROFF APPLET(poweroff, poweroff_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_PRINTENV + APPLET(printenv, printenv_main, _BB_DIR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_PRINTF APPLET(printf, printf_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif @@ -545,6 +548,9 @@ #ifdef CONFIG_SULOGIN APPLET(sulogin, sulogin_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_SUM + APPLET(sum, sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_SWAPONOFF APPLET(swapoff, swap_on_off_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 128aee2..33ead14 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1949,6 +1949,12 @@ "Options:\n" \ "\t-d\t\tdelay interval for shutting off." +#define printenv_trivial_usage \ + "[VARIABLES...]" +#define printenv_full_usage \ + "print all or part of environment\n\n" \ + "If no environment VARIABLE specified, print them all." + #define printf_trivial_usage \ "FORMAT [ARGUMENT...]" #define printf_full_usage \ @@ -2316,6 +2322,14 @@ "\t-h\tName of the remote host for this login.\n" \ "\t-p\tPreserve environment." +#define sum_trivial_usage \ + "[rs] [files...]" +#define sum_full_usage \ + "checksum and count the blocks in a file\n\n" \ + "Options:\n" \ + "\t-r\tuse BSD sum algorithm (1K blocks)\n" \ + "\t-s\tuse System V sum algorithm (512byte blocks)\n" + #define swapoff_trivial_usage \ "[OPTION] [DEVICE]" #define swapoff_full_usage \ |