summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko2020-12-13 22:34:05 +0100
committerDenys Vlasenko2020-12-13 22:34:05 +0100
commit84d5eddb25930ee8a5ff96536ca6f707d793eb24 (patch)
tree21406cb8b2a2661459e3aba4428e74995d69368d /editors
parent63139b531f7f1d71d8274810b163da1a78d4609e (diff)
downloadbusybox-84d5eddb25930ee8a5ff96536ca6f707d793eb24.zip
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.c2
-rw-r--r--editors/vi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/patch.c b/editors/patch.c
index aaa2535..1101766 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 1dd0b6f..01597fa 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(