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