From 5b3b5af5b83a6abac02c1244d68aa05ea390177b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 30 Aug 1998 03:00:13 +0000 Subject: (longopts): Use corresponding short-option character in place of `1', and `NULL' in place of pointer in initialization. --- src/rmdir.c | 4 ++-- 1 file 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: -- cgit v1.2.3-70-g09d2