aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chmod')
-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 4c06407878fb..90164ebff5a8 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);
}