aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-12-10 18:04:13 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2024-12-10 18:09:07 +0100
commitb402b13fab027185e460a4020ee0a0b897bba441 (patch)
treeeaf0d8ca769007c406dfab15697719303996201e
parent38a3c0ad324359904ba3a97b097d8f94ef0cd863 (diff)
downloadbusybox-w32-b402b13fab027185e460a4020ee0a0b897bba441.tar.gz
busybox-w32-b402b13fab027185e460a4020ee0a0b897bba441.tar.bz2
busybox-w32-b402b13fab027185e460a4020ee0a0b897bba441.zip
cut: with -F disabled in .config, don't show it in --help
function old new delta packed_usage 34897 34849 -48 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--coreutils/cut.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index 54f74fc7e..f4d930db0 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -32,15 +32,23 @@
32//usage: "Print selected fields from FILEs to stdout\n" 32//usage: "Print selected fields from FILEs to stdout\n"
33//usage: "\n -b LIST Output only bytes from LIST" 33//usage: "\n -b LIST Output only bytes from LIST"
34//usage: "\n -c LIST Output only characters from LIST" 34//usage: "\n -c LIST Output only characters from LIST"
35//usage: "\n -d SEP Field delimiter for input (default -f TAB, -F run of whitespace)" 35//usage: IF_FEATURE_CUT_REGEX(
36//usage: "\n -s Drop lines with no delimiter" 36//usage: "\n -d SEP Input field delimiter (default -f TAB, -F run of whitespace)"
37//usage: "\n -O SEP Field delimeter for output (default = -d for -f, one space for -F)" 37//usage: ) IF_NOT_FEATURE_CUT_REGEX(
38//TODO: --output-delimiter=SEP 38//usage: "\n -d SEP Input field delimiter (default TAB)"
39//usage: )
39//usage: "\n -f LIST Print only these fields (-d is single char)" 40//usage: "\n -f LIST Print only these fields (-d is single char)"
40//usage: IF_FEATURE_CUT_REGEX( 41//usage: IF_FEATURE_CUT_REGEX(
41//usage: "\n -F LIST Print only these fields (-d is regex)" 42//usage: "\n -F LIST Print only these fields (-d is regex)"
42//usage: ) 43//usage: )
43//usage: "\n -D Don't sort/collate sections or match -fF lines without delimeter" 44//usage: "\n -s Drop lines with no delimiter (else print them in full)"
45//usage: "\n -D Don't sort/collate sections or match -f"IF_FEATURE_CUT_REGEX("F")" lines without delimeter"
46//usage: IF_FEATURE_CUT_REGEX(
47//usage: "\n -O SEP Output field delimeter (default = -d for -f, one space for -F)"
48//usage: ) IF_NOT_FEATURE_CUT_REGEX(
49//usage: "\n -O SEP Output field delimeter (default = -d)"
50//usage: )
51//TODO: --output-delimiter=SEP
44//usage: "\n -n Ignored" 52//usage: "\n -n Ignored"
45//(manpage:-n with -b: don't split multibyte characters) 53//(manpage:-n with -b: don't split multibyte characters)
46//usage: 54//usage: