diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-31 14:43:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-31 14:43:25 +0200 |
commit | 34425389e09353a8dacdd6b23a62553f699c544c (patch) | |
tree | 4eb2e19685536384748e75af827deca885c9cc0a /coreutils/expand.c | |
parent | e3d8d077b7d2e51fed03dc20267eadbe38903b2a (diff) | |
download | busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.gz busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.tar.bz2 busybox-w32-34425389e09353a8dacdd6b23a62553f699c544c.zip |
move help text from include/usage.src.h to coreutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r-- | coreutils/expand.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index 7491b717a..73ab0ece3 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -20,6 +20,37 @@ | |||
20 | * | 20 | * |
21 | * Caveat: this versions of expand and unexpand don't accept tab lists. | 21 | * Caveat: this versions of expand and unexpand don't accept tab lists. |
22 | */ | 22 | */ |
23 | |||
24 | //usage:#define expand_trivial_usage | ||
25 | //usage: "[-i] [-t N] [FILE]..." | ||
26 | //usage:#define expand_full_usage "\n\n" | ||
27 | //usage: "Convert tabs to spaces, writing to stdout\n" | ||
28 | //usage: "\nOptions:" | ||
29 | //usage: IF_FEATURE_EXPAND_LONG_OPTIONS( | ||
30 | //usage: "\n -i,--initial Don't convert tabs after non blanks" | ||
31 | //usage: "\n -t,--tabs=N Tabstops every N chars" | ||
32 | //usage: ) | ||
33 | //usage: IF_NOT_FEATURE_EXPAND_LONG_OPTIONS( | ||
34 | //usage: "\n -i Don't convert tabs after non blanks" | ||
35 | //usage: "\n -t Tabstops every N chars" | ||
36 | //usage: ) | ||
37 | |||
38 | //usage:#define unexpand_trivial_usage | ||
39 | //usage: "[-fa][-t N] [FILE]..." | ||
40 | //usage:#define unexpand_full_usage "\n\n" | ||
41 | //usage: "Convert spaces to tabs, writing to stdout\n" | ||
42 | //usage: "\nOptions:" | ||
43 | //usage: IF_FEATURE_UNEXPAND_LONG_OPTIONS( | ||
44 | //usage: "\n -a,--all Convert all blanks" | ||
45 | //usage: "\n -f,--first-only Convert only leading blanks" | ||
46 | //usage: "\n -t,--tabs=N Tabstops every N chars" | ||
47 | //usage: ) | ||
48 | //usage: IF_NOT_FEATURE_UNEXPAND_LONG_OPTIONS( | ||
49 | //usage: "\n -a Convert all blanks" | ||
50 | //usage: "\n -f Convert only leading blanks" | ||
51 | //usage: "\n -t N Tabstops every N chars" | ||
52 | //usage: ) | ||
53 | |||
23 | #include "libbb.h" | 54 | #include "libbb.h" |
24 | #include "unicode.h" | 55 | #include "unicode.h" |
25 | 56 | ||