diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-30 03:07:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-30 03:07:52 +0000 |
commit | 49b81671fd7df7d3700997aa19a46e8858e978e5 (patch) | |
tree | 232537737663eca2677c72ae5b3926bd68172d1d /src | |
parent | 38429fe66100836d91a84e8f575e49da6958093d (diff) | |
download | coreutils-49b81671fd7df7d3700997aa19a46e8858e978e5.tar.xz |
(longopts): Don't assume ASCII.
Diffstat (limited to 'src')
-rw-r--r-- | src/cut.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' |