aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/cut.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index 0913c4b68..af2fd9fd4 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -330,15 +330,15 @@ int cut_main(int argc UNUSED_PARAM, char **argv)
330 330
331 /* non-field (char or byte) cutting has some special handling */ 331 /* non-field (char or byte) cutting has some special handling */
332 if (!(opt & (OPT_FIELDS|OPT_REGEX))) { 332 if (!(opt & (OPT_FIELDS|OPT_REGEX))) {
333 static const char _op_on_field[] ALIGN1 = " only when operating on fields"; 333 static const char _op_on_field[] ALIGN1 = " makes sense only with -f"IF_FEATURE_CUT_REGEX(" or -F");
334 334
335 if (opt & OPT_SUPPRESS) { 335 if (opt & OPT_SUPPRESS) {
336 bb_error_msg_and_die 336 bb_error_msg_and_die
337 ("suppressing non-delimited lines makes sense%s", _op_on_field); 337 ("-s%s", _op_on_field);
338 } 338 }
339 if (opt & OPT_DELIM) { 339 if (opt & OPT_DELIM) {
340 bb_error_msg_and_die 340 bb_error_msg_and_die
341 ("a delimiter may be specified%s", _op_on_field); 341 ("-d DELIM%s", _op_on_field);
342 } 342 }
343 } 343 }
344 344