summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mg/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 538ae32a942..30fcb7202c5 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.55 2006/11/19 16:51:19 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.56 2007/02/20 04:39:45 cloder Exp $ */
/* This file is in the public domain. */
@@ -34,7 +34,7 @@ extern char *__progname;
static __dead void
usage()
{
- fprintf(stderr, "usage: %s [+line] [-hn] [-f mode] [file ...]\n",
+ fprintf(stderr, "usage: %s [+line] [-n] [-f mode] [file ...]\n",
__progname);
exit(1);
}
@@ -47,7 +47,7 @@ main(int argc, char **argv)
int o, i, nfiles;
int nobackups = 0;
- while ((o = getopt(argc, argv, "hnf:")) != -1)
+ while ((o = getopt(argc, argv, "nf:")) != -1)
switch (o) {
case 'n':
nobackups = 1;
@@ -58,8 +58,6 @@ main(int argc, char **argv)
"initial function");
init_fcn_name = optarg;
break;
- case 'h':
- /* FALLTHRU */
default:
usage();
}