From: Andre Noll Date: Sun, 7 Apr 2013 00:24:13 +0000 (+0000) Subject: afh/play: Include supported audio formats in help output. X-Git-Tag: v0.4.13~23^2~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=5dbc9ac5ce13e1d2872058f3440de253e4416dfe;ds=sidebyside afh/play: Include supported audio formats in help output. This is useful information, and it is simple to do, so include it in the help. --- diff --git a/afh.c b/afh.c index 9ab694cf..3881955d 100644 --- a/afh.c +++ b/afh.c @@ -64,6 +64,7 @@ __noreturn static void print_help_and_die(void) unsigned flags = d? GPH_STANDARD_FLAGS_DETAILED : GPH_STANDARD_FLAGS; ggo_print_help(&h, flags); + printf("supported audio formats: %s\n", AUDIO_FORMAT_HANDLERS); exit(EXIT_SUCCESS); } diff --git a/play.c b/play.c index 35b25119..e6a58fce 100644 --- a/play.c +++ b/play.c @@ -144,6 +144,7 @@ __noreturn static void print_help_and_die(void) GPH_STANDARD_FLAGS_DETAILED : GPH_STANDARD_FLAGS; ggo_print_help(&help, flags); + printf("supported audio formats: %s\n", AUDIO_FORMAT_HANDLERS); exit(0); }