diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-06-23 10:39:16 +0000 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2005-06-23 10:39:16 +0000 |
commit | 39ff48b437fff820b1866b24e081b740d8028b92 (patch) | |
tree | 62a52325b555ff4ece1b53c74ad663fe33b9d916 /alsamixer | |
parent | 6343f3520249583e78ca75f28e1d20efa9c48aa5 (diff) |
Output help messages to stdout
Output help messages and lists to stdout instead of stderr.
Diffstat (limited to 'alsamixer')
-rw-r--r-- | alsamixer/alsamixer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c index 1d74cd1..c861fcc 100644 --- a/alsamixer/alsamixer.c +++ b/alsamixer/alsamixer.c @@ -2228,8 +2228,9 @@ main (int argc, { case '?': case 'h': - fprintf (stderr, "%s v%s\n", PRGNAME_UPPER, VERSION); - fprintf (stderr, "Usage: %s [-h] [-c <card: 0...7>] [-D <mixer device>] [-g] [-s] [-V <view>] [-a <abst>]\n", PRGNAME); + printf ("%s v%s\n", PRGNAME_UPPER, VERSION); + printf ("Usage: %s [-h] [-c <card: 0...7>] [-D <mixer device>] [-g] [-s] [-V <view>] [-a <abst>]\n", PRGNAME); + return 1; case 'c': { int i = snd_card_get_index(optarg); |