Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F95532828
D32508.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
764 B
Referenced Files
None
Subscribers
None
D32508.diff
View Options
diff --git a/usr.sbin/mixer/mixer.c b/usr.sbin/mixer/mixer.c
--- a/usr.sbin/mixer/mixer.c
+++ b/usr.sbin/mixer/mixer.c
@@ -65,7 +65,7 @@
int aflag = 0, dflag = 0, oflag = 0, sflag = 0;
int ch;
- while ((ch = getopt(argc, argv, "ad:f:os")) != -1) {
+ while ((ch = getopt(argc, argv, "ad:f:hos")) != -1) {
switch (ch) {
case 'a':
aflag = 1;
@@ -85,6 +85,7 @@
case 's':
sflag = 1;
break;
+ case 'h': /* FALLTROUGH */
case '?':
default:
usage();
@@ -175,7 +176,8 @@
usage(void)
{
fprintf(stderr, "usage: %1$s [-f device] [-d unit] [-os] [dev[.control[=value]]] ...\n"
- " %1$s [-d unit] [-os] -a\n", getprogname());
+ " %1$s [-d unit] [-os] -a\n"
+ " %1$s -h\n", getprogname());
exit(1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 22, 9:31 AM (22 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12442438
Default Alt Text
D32508.diff (764 B)
Attached To
Mode
D32508: mixer(8): Add -h option
Attached
Detach File
Event Timeline
Log In to Comment