From a082153a1fb12fd97c205e84bc1279bf142f8244 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 28 Nov 1999 12:24:16 +0000 Subject: [PATCH] Default to not -v. Fix usage() style bug spotted by BDE. --- bin/chmod/chmod.c | 4 ++-- 1 file 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); }