diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2024-12-13 19:39:34 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2024-12-13 19:39:34 +0100 |
commit | ed6561685c8b37141a17459655774ec3386dd021 (patch) | |
tree | 0986870b964911c9386c5342759ef6adbba8032a | |
parent | 96a230f17ba6cb1a7ad1e383d595424da02e87fc (diff) | |
download | busybox-w32-ed6561685c8b37141a17459655774ec3386dd021.tar.gz busybox-w32-ed6561685c8b37141a17459655774ec3386dd021.tar.bz2 busybox-w32-ed6561685c8b37141a17459655774ec3386dd021.zip |
cut: tweak comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/cut.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index e33626d7f..e624ab4a5 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -53,9 +53,8 @@ | |||
53 | //usage: "\n -O SEP Output field delimeter (default = -d)" | 53 | //usage: "\n -O SEP Output field delimeter (default = -d)" |
54 | //usage: ) | 54 | //usage: ) |
55 | //usage: ) | 55 | //usage: ) |
56 | //TODO: --output-delimiter=SEP | ||
57 | //usage: "\n -n Ignored" | 56 | //usage: "\n -n Ignored" |
58 | //(manpage:-n with -b: don't split multibyte characters) | 57 | //(manpage:-n with -b: don't split multibyte characters) |
59 | //usage: | 58 | //usage: |
60 | //usage:#define cut_example_usage | 59 | //usage:#define cut_example_usage |
61 | //usage: "$ echo \"Hello world\" | cut -f 1 -d ' '\n" | 60 | //usage: "$ echo \"Hello world\" | cut -f 1 -d ' '\n" |
@@ -318,7 +317,7 @@ int cut_main(int argc UNUSED_PARAM, char **argv) | |||
318 | // bb_simple_error_msg_and_die("expected a list of bytes, characters, or fields"); | 317 | // bb_simple_error_msg_and_die("expected a list of bytes, characters, or fields"); |
319 | // ^^^ handled by getopt32 | 318 | // ^^^ handled by getopt32 |
320 | 319 | ||
321 | /* non-field (char or byte) cutting has some special handling */ | 320 | /* non-field (char or byte) cutting has some special handling */ |
322 | if (!(opt & (OPT_FIELDS|OPT_REGEX))) { | 321 | if (!(opt & (OPT_FIELDS|OPT_REGEX))) { |
323 | static const char _op_on_field[] ALIGN1 = " only when operating on fields"; | 322 | static const char _op_on_field[] ALIGN1 = " only when operating on fields"; |
324 | 323 | ||