diff options
author | obrien <obrien@FreeBSD.org> | 1999-11-28 12:24:16 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-11-28 12:24:16 +0000 |
commit | 4fc2be7713cef166bdd3005aecf43233f1ace2de (patch) | |
tree | 23953e3ab673c1f119040cc4c2dc746aa08fc683 /bin/chmod/chmod.c | |
parent | aecc1a16a178ad04596665207738a8c41ef687cb (diff) | |
download | FreeBSD-src-4fc2be7713cef166bdd3005aecf43233f1ace2de.zip FreeBSD-src-4fc2be7713cef166bdd3005aecf43233f1ace2de.tar.gz |
Default to not -v.
Fix usage() style bug spotted by BDE.
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r-- | bin/chmod/chmod.c | 4 |
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); } |