From 84d5eddb25930ee8a5ff96536ca6f707d793eb24 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 13 Dec 2020 22:34:05 +0100 Subject: 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 --- editors/patch.c | 2 +- editors/vi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'editors') 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( -- cgit v1.2.3