prevent use of -U and -V at same time
Adrian Smith
9 years ago
97 | 97 | #endif |
98 | 98 | # if ALSA |
99 | 99 | " -L \t\t\tList volume controls for output device\n" |
100 | " -U <control>\t\tUnmute ALSA control and set to full volume\n" | |
100 | " -U <control>\t\tUnmute ALSA control and set to full volume (not supported with -V)\n" | |
101 | 101 | " -V <control>\t\tUse ALSA control for volume adjustment, otherwise use software volume adjustment\n" |
102 | 102 | #endif |
103 | 103 | #if LINUX || FREEBSD |
457 | 457 | case 'U': |
458 | 458 | output_mixer_unmute = true; |
459 | 459 | case 'V': |
460 | if (output_mixer) { | |
461 | fprintf(stderr, "-U and -V option should not be used at same time\n"); | |
462 | exit(1); | |
463 | } | |
460 | 464 | output_mixer = optarg; |
461 | 465 | break; |
462 | 466 | #endif |