From: Jim Meyering Date: Sun, 30 Aug 1998 03:02:53 +0000 (+0000) Subject: (long_options): Replace 12 with CHAR_MAX + 1. X-Git-Tag: FILEUTILS-3_16v~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38429fe66100836d91a84e8f575e49da6958093d;p=thirdparty%2Fcoreutils.git (long_options): Replace 12 with CHAR_MAX + 1. --- diff --git a/src/chgrp.c b/src/chgrp.c index 3eb9ca213f..36d2a7c1c7 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -107,7 +107,7 @@ static struct option const long_options[] = {"no-dereference", no_argument, 0, 'h'}, {"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}, @@ -340,7 +340,7 @@ main (int argc, char **argv) { case 0: break; - case 12: + case CHAR_MAX + 1: reference_file = optarg; break; case 'R':