diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-24 09:56:06 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-24 09:56:39 +0100 |
commit | 6fc9ffafae7471f3ebc3e7a4893af8c7f0160999 (patch) | |
tree | bdfc56217ad3adbd906b495fd38fe87f4eeca3de | |
parent | 4cca632532d3e315d68768e00549ac2047232e55 (diff) | |
download | toolame-dab-6fc9ffafae7471f3ebc3e7a4893af8c7f0160999.tar.gz toolame-dab-6fc9ffafae7471f3ebc3e7a4893af8c7f0160999.tar.bz2 toolame-dab-6fc9ffafae7471f3ebc3e7a4893af8c7f0160999.zip |
Improve usage screen
-rw-r--r-- | toolame.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -734,7 +734,18 @@ void short_usage (void) fprintf (stderr, "Toolame-DAB version %s\n (http://opendigitalradio.org)\n", toolameversion); fprintf (stderr, "MPEG Audio Layer II encoder for DAB\n\n"); +#if defined(JACK_INPUT) && defined(VLC_INPUT) fprintf (stderr, "USAGE: %s [options] (<infile>|-j <jackname>|-V <libvlc url>) [output]\n\n", programName); +#elif defined(JACK_INPUT) + fprintf (stderr, "USAGE: %s [options] (<infile>|-j <jackname>) [output]\n\n", programName); + fprintf (stderr, "VLC input not compiled in\n"); +#elif defined(VLC_INPUT) + fprintf (stderr, "USAGE: %s [options] (<infile>|-V <libvlc url>) [output]\n\n", programName); + fprintf (stderr, "JACK input not compiled in\n"); +#else + fprintf (stderr, "USAGE: %s [options] <infile> [output]\n\n", programName); + fprintf (stderr, "Neither JACK nor libVLC input compiled in\n"); +#endif fprintf (stderr, "Try \"%s -h\" for more information.\n", programName); exit (0); } |