summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cut.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cut.c b/src/cut.c
index 6b6726b70..992d75e48 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -181,7 +181,7 @@ static struct option const longopts[] =
{"fields", required_argument, 0, 'f'},
{"delimiter", required_argument, 0, 'd'},
{"only-delimited", no_argument, 0, 's'},
- {"output-delimiter", required_argument, 0, 14},
+ {"output-delimiter", required_argument, 0, CHAR_MAX + 1},
{"help", no_argument, &show_help, 1},
{"version", no_argument, &show_version, 1},
{0, 0, 0, 0}
@@ -739,7 +739,7 @@ main (int argc, char **argv)
delim_specified = 1;
break;
- case 14:
+ case CHAR_MAX + 1:
/* Interpret --output-delimiter='' to mean
`use the NUL byte as the delimiter.' */
output_delimiter_length = (optarg[0] == '\0'