diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-01 22:56:30 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-03 01:33:55 +0200 |
commit | 6a3e01d5a9f979f7d6e52665c2bf6c74e2592980 (patch) | |
tree | b7d40d6e0c6042f0d102101ff7b5784d2f0536ba /editors/vi.c | |
parent | fa9126e68904b16aee2a0fc47688ffe17403152a (diff) | |
download | busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.gz busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.tar.bz2 busybox-w32-6a3e01d5a9f979f7d6e52665c2bf6c74e2592980.zip |
move help text from include/usage.src.h to debianutils/*.c e2fsprogs/*.c editors/*.c loginutils/*.c mailutils/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c index 602fc61d9..fd8bd0f78 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -21,6 +21,19 @@ | |||
21 | * An "ex" line oriented mode- maybe using "cmdedit" | 21 | * An "ex" line oriented mode- maybe using "cmdedit" |
22 | */ | 22 | */ |
23 | 23 | ||
24 | //usage:#define vi_trivial_usage | ||
25 | //usage: "[OPTIONS] [FILE]..." | ||
26 | //usage:#define vi_full_usage "\n\n" | ||
27 | //usage: "Edit FILE\n" | ||
28 | //usage: "\nOptions:" | ||
29 | //usage: IF_FEATURE_VI_COLON( | ||
30 | //usage: "\n -c Initial command to run ($EXINIT also available)" | ||
31 | //usage: ) | ||
32 | //usage: IF_FEATURE_VI_READONLY( | ||
33 | //usage: "\n -R Read-only" | ||
34 | //usage: ) | ||
35 | //usage: "\n -H Short help regarding available features" | ||
36 | |||
24 | #include "libbb.h" | 37 | #include "libbb.h" |
25 | 38 | ||
26 | /* the CRASHME code is unmaintained, and doesn't currently build */ | 39 | /* the CRASHME code is unmaintained, and doesn't currently build */ |