diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 22:34:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-13 22:34:05 +0100 |
commit | 84d5eddb25930ee8a5ff96536ca6f707d793eb24 (patch) | |
tree | 21406cb8b2a2661459e3aba4428e74995d69368d /editors | |
parent | 63139b531f7f1d71d8274810b163da1a78d4609e (diff) | |
download | busybox-84d5eddb25930ee8a5ff96536ca6f707d793eb24.tar.gz |
help text: replace [OPTIONS] with actual options (if not too long)
function old new delta
packed_usage 33620 33665 +45
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/patch.c | 2 | ||||
-rw-r--r-- | editors/vi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/patch.c b/editors/patch.c index aaa253591..110176630 100644 --- a/editors/patch.c +++ b/editors/patch.c @@ -31,7 +31,7 @@ //kbuild:lib-$(CONFIG_PATCH) += patch.o //usage:#define patch_trivial_usage -//usage: "[OPTIONS] [ORIGFILE [PATCHFILE]]" +//usage: "[-RNE] [-p N] [-i DIFF] [ORIGFILE [PATCHFILE]]" //usage:#define patch_full_usage "\n\n" //usage: " -p N Strip N leading components from file names" //usage: "\n -i DIFF Read DIFF instead of stdin" diff --git a/editors/vi.c b/editors/vi.c index 1dd0b6fb6..01597fa5e 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -166,7 +166,7 @@ //kbuild:lib-$(CONFIG_VI) += vi.o //usage:#define vi_trivial_usage -//usage: "[OPTIONS] [FILE]..." +//usage: IF_FEATURE_VI_COLON("[-c CMD] ")IF_FEATURE_VI_READONLY("[-R] ")"[FILE]..." //usage:#define vi_full_usage "\n\n" //usage: "Edit FILE\n" //usage: IF_FEATURE_VI_COLON( |