summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-13 14:10:24 +0000
committerDenis Vlasenko2007-08-13 14:10:24 +0000
commit3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e (patch)
tree038567c7d5d0a3c9bfe40eeb534ffc9559423b9d /include/usage.h
parent08294dbf5bc6fb1ea0b185488675d91169e231ce (diff)
downloadbusybox-3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e.zip
busybox-3952f20c24ff3eed2ef6f4a9abd2d8a0aaa34a6e.tar.gz
expand, unexpand: new applets from Tito <farmatito@tiscali.it>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index f5025b7..d01e3e4 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -844,6 +844,16 @@
" -i iface Use interface ifname instead of the default \"eth0\"\n" \
" -p pass Append the four or six byte password PW to the packet"
+#define expand_trivial_usage \
+ "[-i] [-t NUM] [FILE|-]"
+#define expand_full_usage \
+ "Convert tabs to spaces, writing to standard output." \
+ "\n\nOptions:" \
+ "\n -i" USE_FEATURE_EXPAND_LONG_OPTIONS(",--initial") \
+ " Do not convert tabs after non blanks" \
+ "\n -t" USE_FEATURE_EXPAND_LONG_OPTIONS(",--tabs=N") \
+ " Tabstops every N chars"
+
#define expr_trivial_usage \
"EXPRESSION"
#define expr_full_usage \
@@ -3707,6 +3717,18 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
" -c Extract to stdout\n" \
" -f Force overwrite an existing file"
+#define unexpand_trivial_usage \
+ "[-f][-a][-t NUM] [FILE|-]"
+#define unexpand_full_usage \
+ "Convert spaces to tabs, writing to standard output." \
+ "\n\nOptions:" \
+ "\n -a" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--all") \
+ " Convert all blanks" \
+ "\n -f" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--first-only") \
+ " Convert only leading sequences of blanks" \
+ "\n -t" USE_FEATURE_UNEXPAND_LONG_OPTIONS(",--tabs=N") \
+ " Tabstops every N chars"
+
#define uniq_trivial_usage \
"[-fscdu]... [INPUT [OUTPUT]]"
#define uniq_full_usage \