]> git.alsa-project.org Git - alsa-utils.git/commitdiff
exits with status 0 after -h option
authorTakashi Iwai <tiwai@suse.de>
Mon, 31 Jan 2005 13:48:50 +0000 (13:48 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Jan 2005 13:48:50 +0000 (13:48 +0000)
amixer exits with status 0 after -h option (ALSA BTS #858).

amixer/amixer.c

index d4a59e69880e5028a2486c82565e1a3613aaf619..57912a31172500c2048e95e886c6787cdac36a53 100644 (file)
@@ -1512,7 +1512,7 @@ int main(int argc, char *argv[])
        }
        if (morehelp) {
                help();
-               return 1;
+               return 0;
        }
        if (argc - optind <= 0) {
                return selems(LEVEL_BASIC | level) ? 1 : 0;