summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-12-24 11:35:42 +0000
committeraaron <aaron@openbsd.org>2000-12-24 11:35:42 +0000
commit6f9db1b18580279846cbb80f55d25e60f680db8d (patch)
tree77e400f870bf8536a13736406ae195830c74395e
parentGet rid of ugly usage() output. People can read the man page to get a command (diff)
downloadwireguard-openbsd-6f9db1b18580279846cbb80f55d25e60f680db8d.tar.xz
wireguard-openbsd-6f9db1b18580279846cbb80f55d25e60f680db8d.zip
Get rid of undocumented -h option.
-rw-r--r--usr.bin/cdio/cdio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cdio/cdio.c b/usr.bin/cdio/cdio.c
index 77ebc207280..36541f48609 100644
--- a/usr.bin/cdio/cdio.c
+++ b/usr.bin/cdio/cdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdio.c,v 1.14 2000/12/24 11:34:10 aaron Exp $ */
+/* $OpenBSD: cdio.c,v 1.15 2000/12/24 11:35:42 aaron Exp $ */
/*
* Compact Disc Control Utility by Serge V. Vakulenko <vak@cronyx.ru>.
* Based on the non-X based CD player by Jean-Marc Zucconi and
@@ -172,7 +172,7 @@ int main (argc, argv)
cdname = getenv ("CDROM");
for (;;) {
- switch (getopt (argc, argv, "svhf:")) {
+ switch (getopt (argc, argv, "svf:")) {
case EOF:
break;
case 's':
@@ -184,7 +184,6 @@ int main (argc, argv)
case 'f':
cdname = optarg;
continue;
- case 'h':
default:
usage ();
}