diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-30 03:02:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-30 03:02:21 +0000 |
commit | ce0ba9e9d9764e6af5d8d77bc231b711c89d983c (patch) | |
tree | fe5bd341848cb10a8d7427f42e80fce821c805c8 /src | |
parent | 5b3b5af5b83a6abac02c1244d68aa05ea390177b (diff) | |
download | coreutils-ce0ba9e9d9764e6af5d8d77bc231b711c89d983c.tar.xz |
(long_options): Replace 12 with CHAR_MAX + 1.
Diffstat (limited to 'src')
-rw-r--r-- | src/chmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chmod.c b/src/chmod.c index aa07e6cac..b06484785 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -82,7 +82,7 @@ static struct option const long_options[] = {"changes", no_argument, 0, 'c'}, {"silent", no_argument, 0, 'f'}, {"quiet", no_argument, 0, 'f'}, - {"reference", required_argument, 0, 12}, + {"reference", required_argument, 0, CHAR_MAX + 1}, {"verbose", no_argument, 0, 'v'}, {"help", no_argument, &show_help, 1}, {"version", no_argument, &show_version, 1}, @@ -311,7 +311,7 @@ main (int argc, char **argv) error (1, 0, _("invalid mode")); modeind = thisind; break; - case 12: + case CHAR_MAX + 1: reference_file = optarg; break; case 'R': |