diff --git a/userspace/programs/dirname/main.cpp b/userspace/programs/dirname/main.cpp index a174da63..65f6175a 100644 --- a/userspace/programs/dirname/main.cpp +++ b/userspace/programs/dirname/main.cpp @@ -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);