From b0113afac2a68066fafbb2796963fa2cb72ac638 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 10 Mar 2014 21:33:25 +0100 Subject: Add version number to the programs --- src/dabplus-enc-file-zmq.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'src/dabplus-enc-file-zmq.c') diff --git a/src/dabplus-enc-file-zmq.c b/src/dabplus-enc-file-zmq.c index cb83877..e9d5a31 100644 --- a/src/dabplus-enc-file-zmq.c +++ b/src/dabplus-enc-file-zmq.c @@ -45,16 +45,22 @@ void usage(const char* name) { fprintf(stderr, - "%s is a HE-AACv2 encoder for DAB+ based on fdk-aac-dabplus\n" - "that can encode from a file or pipe source, and encode\n" - "to a ZeroMQ output for ODR-DabMux.\n" + "dabplus-enc-file-zmq %s is a HE-AACv2 encoder for DAB+\n" + "based on fdk-aac-dabplus that can read from a file\n" + "or pipe source and encode to a ZeroMQ output for ODR-DabMux.\n" "\n" "It includes PAD (DLS and MOT Slideshow) support by http://rd.csp.it\n" "to be used with mot-encoder\n" "\n" " http://opendigitalradio.org\n" "\nUsage:\n" - "%s [OPTION...]\n", name, name); + "%s [OPTION...]\n", +#if defined(GITVERSION) + GITVERSION +#else + PACKAGE_VERSION +#endif + , name); fprintf(stderr, " -b, --bitrate={ 8, 16, ..., 192 } Output bitrate in kbps. Must be 8 multiple.\n" -- cgit v1.2.3