projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2cf8a
)
(longopts): Use corresponding short-option character
author
Jim Meyering
<jim@meyering.net>
Sun, 30 Aug 1998 03:00:13 +0000
(
03:00
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 30 Aug 1998 03:00:13 +0000
(
03:00
+0000)
in place of `1', and `NULL' in place of pointer in initialization.
src/rmdir.c
patch
|
blob
|
history
diff --git
a/src/rmdir.c
b/src/rmdir.c
index
f50849c
..
e5a3977
100644
(file)
--- 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: