summaryrefslogtreecommitdiff
path: root/coreutils/cut.c
diff options
context:
space:
mode:
authorMatt Kraai2000-12-18 03:08:29 +0000
committerMatt Kraai2000-12-18 03:08:29 +0000
commit0dab82997777bffb95d01d68e1628ee79207a03d (patch)
treecd56722ced55fd4b08049a0717cbbb9df5e9113f /coreutils/cut.c
parentbfa7967c4a18c9a7addbe853cf9f736ac34b4e5b (diff)
downloadbusybox-0dab82997777bffb95d01d68e1628ee79207a03d.zip
busybox-0dab82997777bffb95d01d68e1628ee79207a03d.tar.gz
Add missing newlines to error messages.
Diffstat (limited to 'coreutils/cut.c')
-rw-r--r--coreutils/cut.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c
index 6e0fe83..8b31996 100644
--- a/coreutils/cut.c
+++ b/coreutils/cut.c
@@ -188,7 +188,7 @@ extern int cut_main(int argc, char **argv)
case 'f':
/* make sure they didn't ask for two types of lists */
if (part != 0) {
- error_msg_and_die("only one type of list may be specified");
+ error_msg_and_die("only one type of list may be specified\n");
}
part = (char)opt;
decompose_list(optarg);
@@ -213,8 +213,9 @@ extern int cut_main(int argc, char **argv)
}
if (supress_non_delimited_lines && part != 'f') {
- error_msg_and_die("suppressing non-delimited lines makes sense
- only when operating on fields\n");
+ error_msg_and_die("suppressing non-delimited lines makes sense"
+ " only when operating on fields\n");
+
}
if (delim != '\t' && part != 'f') {