summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.c
diff options
context:
space:
mode:
authorEric Jackson <ericj@cvs.openbsd.org>2000-07-31 19:02:39 +0000
committerEric Jackson <ericj@cvs.openbsd.org>2000-07-31 19:02:39 +0000
commit0f3605ceca638b1f8f80cf5db46274fb467cc400 (patch)
treea0fbf1267a8c6d0706152daaebf909c3aff04e65 /bin/chmod/chmod.c
parentf15f086ada58bbf454548427403d2f12094c1cbb (diff)
make -h option work again, it was left out on the getopt string
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r--bin/chmod/chmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 310657e0c55..8cc04abcde0 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chmod.c,v 1.11 2000/07/19 19:42:31 mickey Exp $ */
+/* $OpenBSD: chmod.c,v 1.12 2000/07/31 19:02:38 ericj Exp $ */
/* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#else
-static char rcsid[] = "$OpenBSD: chmod.c,v 1.11 2000/07/19 19:42:31 mickey Exp $";
+static char rcsid[] = "$OpenBSD: chmod.c,v 1.12 2000/07/31 19:02:38 ericj Exp $";
#endif
#endif /* not lint */
@@ -100,7 +100,7 @@ main(argc, argv)
uid = -1;
gid = -1;
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
- while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != -1)
+ while ((ch = getopt(argc, argv, "HLPRXfghorstuwx")) != -1)
switch (ch) {
case 'H':
Hflag = 1;