aboutsummaryrefslogtreecommitdiff
path: root/cut.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-18 03:08:29 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-12-18 03:08:29 +0000
commitb67a9cce48df6a3d83fe70ae3a6c8ca0bd8b7afd (patch)
treecd56722ced55fd4b08049a0717cbbb9df5e9113f /cut.c
parent001b7f983a74d9cbe6322dd38b64449498897927 (diff)
downloadbusybox-w32-b67a9cce48df6a3d83fe70ae3a6c8ca0bd8b7afd.tar.gz
busybox-w32-b67a9cce48df6a3d83fe70ae3a6c8ca0bd8b7afd.tar.bz2
busybox-w32-b67a9cce48df6a3d83fe70ae3a6c8ca0bd8b7afd.zip
Add missing newlines to error messages.
git-svn-id: svn://busybox.net/trunk/busybox@1465 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'cut.c')
-rw-r--r--cut.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cut.c b/cut.c
index 6e0fe83fc..8b319962d 100644
--- a/cut.c
+++ b/cut.c
@@ -188,7 +188,7 @@ extern int cut_main(int argc, char **argv)
188 case 'f': 188 case 'f':
189 /* make sure they didn't ask for two types of lists */ 189 /* make sure they didn't ask for two types of lists */
190 if (part != 0) { 190 if (part != 0) {
191 error_msg_and_die("only one type of list may be specified"); 191 error_msg_and_die("only one type of list may be specified\n");
192 } 192 }
193 part = (char)opt; 193 part = (char)opt;
194 decompose_list(optarg); 194 decompose_list(optarg);
@@ -213,8 +213,9 @@ extern int cut_main(int argc, char **argv)
213 } 213 }
214 214
215 if (supress_non_delimited_lines && part != 'f') { 215 if (supress_non_delimited_lines && part != 'f') {
216 error_msg_and_die("suppressing non-delimited lines makes sense 216 error_msg_and_die("suppressing non-delimited lines makes sense"
217 only when operating on fields\n"); 217 " only when operating on fields\n");
218
218 } 219 }
219 220
220 if (delim != '\t' && part != 'f') { 221 if (delim != '\t' && part != 'f') {