summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-21 21:16:43 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-21 21:16:43 +0000
commit05fc6735d59f44db060a9d3a428944db3e862ebe (patch)
tree454eb823ced496d5e385dbdb7d72443ca9e9fe2d
parent22e73ce17cd076c0283137385a099f5602006761 (diff)
Make usage string match the man page.
suggested by jmc@
-rw-r--r--usr.bin/audioctl/audioctl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/audioctl/audioctl.c b/usr.bin/audioctl/audioctl.c
index 2511aec00c6..f67fe478e15 100644
--- a/usr.bin/audioctl/audioctl.c
+++ b/usr.bin/audioctl/audioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audioctl.c,v 1.31 2016/06/21 06:26:50 ratchov Exp $ */
+/* $OpenBSD: audioctl.c,v 1.32 2016/06/21 21:16:42 ratchov Exp $ */
/*
* Copyright (c) 2016 Alexandre Ratchov <alex@caoua.org>
*
@@ -62,7 +62,10 @@ struct field {
{NULL, NULL, 0}
};
-const char usagestr[] = "usage: audioctl [-nq] [-f path] [name=[value]] ...\n";
+const char usagestr[] =
+ "usage: audioctl [-f path]\n"
+ " audioctl [-n] [-f path] name ...\n"
+ " audioctl [-nq] [-f path] name=value ...\n";
/*
* parse encoding string (examples: s8, u8, s16, s16le, s24be ...)