diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-28 12:24:16 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-11-28 12:24:16 +0000 |
commit | a082153a1fb12fd97c205e84bc1279bf142f8244 (patch) | |
tree | 6b2219ca26fb2187334a39888dcc476f26e2a181 /bin/chmod/chmod.c | |
parent | bdf423572ee3d6d95e3355594310b5f8685a0298 (diff) | |
download | src-a082153a1fb12fd97c205e84bc1279bf142f8244.tar.gz src-a082153a1fb12fd97c205e84bc1279bf142f8244.zip |
Default to not -v.
Fix usage() style bug spotted by BDE.
Notes
Notes:
svn path=/head/; revision=53824
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 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); } |