diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-30 03:00:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-30 03:00:13 +0000 |
commit | 5b3b5af5b83a6abac02c1244d68aa05ea390177b (patch) | |
tree | 11aaf216a93acb3602a6d30fe489da3c24d8e780 | |
parent | 6a2cf8a2979c2db01ba1170ae13fa957f20004a4 (diff) | |
download | coreutils-5b3b5af5b83a6abac02c1244d68aa05ea390177b.tar.xz |
(longopts): Use corresponding short-option character
in place of `1', and `NULL' in place of pointer in initialization.
-rw-r--r-- | src/rmdir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index f50849c71..e5a3977a7 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -64,7 +64,7 @@ static struct option const longopts[] = { /* Don't name this `--force' because it's not close enough in meaning to e.g. rm's -f option. */ - {"ignore-fail-on-non-empty", no_argument, NULL, 13}, + {"ignore-fail-on-non-empty", no_argument, NULL, CHAR_MAX + 1}, {"path", no_argument, NULL, 'p'}, {"parents", no_argument, NULL, 'p'}, @@ -163,7 +163,7 @@ main (int argc, char **argv) case 'p': empty_paths = 1; break; - case 13: + case CHAR_MAX + 1: ignore_fail_on_non_empty = 1; break; case 14: |