diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 2 | ||||
-rw-r--r-- | include/usage.h | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index b5b9fc884..f92ce4b13 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -134,6 +134,7 @@ USE_ENV(APPLET(env, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | |||
134 | USE_ENVDIR(APPLET_ODDNAME(envdir, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, envdir)) | 134 | USE_ENVDIR(APPLET_ODDNAME(envdir, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, envdir)) |
135 | USE_ENVUIDGID(APPLET_ODDNAME(envuidgid, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, envuidgid)) | 135 | USE_ENVUIDGID(APPLET_ODDNAME(envuidgid, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, envuidgid)) |
136 | USE_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ether_wake)) | 136 | USE_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ether_wake)) |
137 | USE_EXPAND(APPLET(expand, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | ||
137 | USE_EXPR(APPLET(expr, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 138 | USE_EXPR(APPLET(expr, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
138 | USE_FAKEIDENTD(APPLET(fakeidentd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 139 | USE_FAKEIDENTD(APPLET(fakeidentd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
139 | USE_FALSE(APPLET_NOFORK(false, false, _BB_DIR_BIN, _BB_SUID_NEVER, false)) | 140 | USE_FALSE(APPLET_NOFORK(false, false, _BB_DIR_BIN, _BB_SUID_NEVER, false)) |
@@ -345,6 +346,7 @@ USE_UDPSVD(APPLET_ODDNAME(udpsvd, tcpudpsvd, _BB_DIR_USR_BIN, _BB_SUID_NEVER, ud | |||
345 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) | 346 | USE_UMOUNT(APPLET(umount, _BB_DIR_BIN, _BB_SUID_NEVER)) |
346 | USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER)) | 347 | USE_UNAME(APPLET(uname, _BB_DIR_BIN, _BB_SUID_NEVER)) |
347 | USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER)) | 348 | USE_UNCOMPRESS(APPLET(uncompress, _BB_DIR_BIN, _BB_SUID_NEVER)) |
349 | USE_UNEXPAND(APPLET_ODDNAME(unexpand, expand, _BB_DIR_USR_BIN, _BB_SUID_NEVER, unexpand)) | ||
348 | USE_UNIQ(APPLET(uniq, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 350 | USE_UNIQ(APPLET(uniq, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
349 | USE_UNIX2DOS(APPLET_ODDNAME(unix2dos, dos2unix, _BB_DIR_USR_BIN, _BB_SUID_NEVER, unix2dos)) | 351 | USE_UNIX2DOS(APPLET_ODDNAME(unix2dos, dos2unix, _BB_DIR_USR_BIN, _BB_SUID_NEVER, unix2dos)) |
350 | USE_UNLZMA(APPLET(unlzma, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 352 | USE_UNLZMA(APPLET(unlzma, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index f5025b70a..d01e3e4f3 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -844,6 +844,16 @@ | |||
844 | " -i iface Use interface ifname instead of the default \"eth0\"\n" \ | 844 | " -i iface Use interface ifname instead of the default \"eth0\"\n" \ |
845 | " -p pass Append the four or six byte password PW to the packet" | 845 | " -p pass Append the four or six byte password PW to the packet" |
846 | 846 | ||
847 | #define expand_trivial_usage \ | ||
848 | "[-i] [-t NUM] [FILE|-]" | ||
849 | #define expand_full_usage \ | ||
850 | "Convert tabs to spaces, writing to standard output." \ | ||
851 | "\n\nOptions:" \ | ||
852 | "\n -i" USE_FEATURE_EXPAND_LONG_OPTIONS(",--initial") \ | ||
853 | " Do not convert tabs after non blanks" \ | ||
854 | "\n -t" USE_FEATURE_EXPAND_LONG_OPTIONS(",--tabs=N") \ | ||
855 | " Tabstops every N chars" | ||
856 | |||
847 | #define expr_trivial_usage \ | 857 | #define expr_trivial_usage \ |
848 | "EXPRESSION" | 858 | "EXPRESSION" |
849 | #define expr_full_usage \ | 859 | #define expr_full_usage \ |
@@ -3707,6 +3717,18 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3707 | " -c Extract to stdout\n" \ | 3717 | " -c Extract to stdout\n" \ |
3708 | " -f Force overwrite an existing file" | 3718 | " -f Force overwrite an existing file" |
3709 | 3719 | ||
3720 | #define unexpand_trivial_usage \ | ||
3721 | "[-f][-a][-t NUM] [FILE|-]" | ||
3722 | #define unexpand_full_usage \ | ||
3723 | "Convert spaces to tabs, writing to standard output." \ | ||
3724 | "\n\nOptions:" \ | ||
3725 | "\n -a" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--all") \ | ||
3726 | " Convert all blanks" \ | ||
3727 | "\n -f" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--first-only") \ | ||
3728 | " Convert only leading sequences of blanks" \ | ||
3729 | "\n -t" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--tabs=N") \ | ||
3730 | " Tabstops every N chars" | ||
3731 | |||
3710 | #define uniq_trivial_usage \ | 3732 | #define uniq_trivial_usage \ |
3711 | "[-fscdu]... [INPUT [OUTPUT]]" | 3733 | "[-fscdu]... [INPUT [OUTPUT]]" |
3712 | #define uniq_full_usage \ | 3734 | #define uniq_full_usage \ |