summaryrefslogtreecommitdiffstats
path: root/bin/chmod/chmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r--bin/chmod/chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 4c06407..90164eb 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -75,7 +75,7 @@ main(argc, argv)
set = NULL;
omode = 0;
- Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
+ Hflag = Lflag = Pflag = Rflag = fflag = hflag = vflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuvwx")) != -1)
switch (ch) {
case 'H':
@@ -210,6 +210,6 @@ void
usage()
{
(void)fprintf(stderr,
- "usage: chmod [-f -R [-H | -L | -P] -v] mode file ...\n");
+ "usage: chmod [-fv] [-R [-H | -L | -P]] mode file ...\n");
exit(1);
}
OpenPOWER on IntegriCloud