summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-30 02:57:17 +0000
committerJim Meyering <jim@meyering.net>1998-08-30 02:57:17 +0000
commit22fd1ff303a96d5ef0aee84c604ade0671924d74 (patch)
tree9a330f27bc43460234e23f2ccf8efd1fa53c648f
parentcb1386ec3238a0c71942936bdcb3ed5d04d1f6d9 (diff)
downloadcoreutils-22fd1ff303a96d5ef0aee84c604ade0671924d74.tar.gz
coreutils-22fd1ff303a96d5ef0aee84c604ade0671924d74.tar.bz2
coreutils-22fd1ff303a96d5ef0aee84c604ade0671924d74.zip
Replace 12 and 13 with CHAR_MAX + 1 and CHAR_MAX + 2 respectively.
-rw-r--r--src/chown.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chown.c b/src/chown.c
index 0c58d48e8..808b47447 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -113,11 +113,11 @@ static struct option const long_options[] =
{
{"recursive", no_argument, 0, 'R'},
{"changes", no_argument, 0, 'c'},
- {"dereference", no_argument, 0, 13},
+ {"dereference", no_argument, 0, CHAR_MAX + 2},
{"no-dereference", no_argument, 0, 'h'},
{"quiet", no_argument, 0, 'f'},
{"silent", 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},
@@ -341,10 +341,10 @@ main (int argc, char **argv)
{
case 0:
break;
- case 12:
+ case CHAR_MAX + 1:
reference_file = optarg;
break;
- case 13:
+ case CHAR_MAX + 2:
change_symlinks = 0;
break;
case 'R':