diff options
Diffstat (limited to 'coreutils/cut.c')
| -rw-r--r-- | coreutils/cut.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index 6e0fe83fc..8b319962d 100644 --- a/coreutils/cut.c +++ b/coreutils/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') { |
