dirname: Fix help message
This commit is contained in:
@@ -23,14 +23,11 @@ int main(int argc, char* argv[])
|
||||
zero = true;
|
||||
break;
|
||||
case 'h':
|
||||
fprintf(stderr, "usage: %s [OPTIONS]...\n", argv[0]);
|
||||
fprintf(stderr, " control the audio server\n");
|
||||
fprintf(stderr, "usage: %s [OPTION] NAME...\n", argv[0]);
|
||||
fprintf(stderr, " output the directory containing each NAME\n");
|
||||
fprintf(stderr, "OPTIONS:\n");
|
||||
fprintf(stderr, " -l, --list list devices and their pins\n");
|
||||
fprintf(stderr, " -d, --device N set device index N as the current one\n");
|
||||
fprintf(stderr, " -p, --pin N set pin N as the current one\n");
|
||||
fprintf(stderr, " -v, --volume N set volume to N%%. if + or - is given, volume is relative to the current volume\n");
|
||||
fprintf(stderr, " -h, --help show this message and exit\n");
|
||||
fprintf(stderr, " -z, --zero end each output with NUL instead of a newline\n");
|
||||
fprintf(stderr, " -h, --help show this message and exit\n");
|
||||
return 0;
|
||||
case '?':
|
||||
fprintf(stderr, "invalid option %c\n", optopt);
|
||||
|
||||
Reference in New Issue
Block a user