aboutsummaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.c
diff options
context:
space:
mode:
authorTom Rhodes <trhodes@FreeBSD.org>2002-09-17 23:38:33 +0000
committerTom Rhodes <trhodes@FreeBSD.org>2002-09-17 23:38:33 +0000
commit037532d2d9ba84162b2bde533f447eac5612ef71 (patch)
treec6e08f9e1ee20b72b44f2b5bfff99f625c283d43 /bin/chmod/chmod.c
parentfd512253f36447dfd0b1d0f1b93796cdc7da3e07 (diff)
Notes
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 112915159645..42b0e367ec51 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -78,7 +78,7 @@ main(argc, argv)
set = NULL;
omode = 0;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = vflag = 0;
- while ((ch = getopt(argc, argv, "HLPRXfgorstuvwx")) != -1)
+ while ((ch = getopt(argc, argv, "HLPRXfghorstuvwx")) != -1)
switch (ch) {
case 'H':
Hflag = 1;
@@ -214,6 +214,6 @@ void
usage()
{
(void)fprintf(stderr,
- "usage: chmod [-fv] [-R [-H | -L | -P]] mode file ...\n");
+ "usage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...\n");
exit(1);
}