summaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-10 21:33:25 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-03-10 21:33:25 +0100
commitb0113afac2a68066fafbb2796963fa2cb72ac638 (patch)
tree5d19ddf394ff655dfb28d7d9972db9ca108a9de3 /src/mot-encoder.c
parenta0603c8b1285d649fff786172769d0ad4637a32e (diff)
downloadODR-AudioEnc-b0113afac2a68066fafbb2796963fa2cb72ac638.tar.gz
ODR-AudioEnc-b0113afac2a68066fafbb2796963fa2cb72ac638.tar.bz2
ODR-AudioEnc-b0113afac2a68066fafbb2796963fa2cb72ac638.zip
Add version number to the programs
Diffstat (limited to 'src/mot-encoder.c')
-rw-r--r--src/mot-encoder.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mot-encoder.c b/src/mot-encoder.c
index efa8f68..1fdc58e 100644
--- a/src/mot-encoder.c
+++ b/src/mot-encoder.c
@@ -97,14 +97,19 @@ void writeDLS(int output_fd, const char* dls_file, int padlen);
void usage(char* name)
{
- fprintf(stderr, "DAB MOT encoder for slideshow and DLS\n\n"
+ fprintf(stderr, "DAB MOT encoder %s for slideshow and DLS\n\n"
"By CSP Innovazione nelle ICT s.c.a r.l. (http://rd.csp.it/)\n\n"
"Reads image data from the specified directory, and outputs PAD data\n"
"on standard output\n"
"Reads DLS from /tmp/dls.file\n\n"
"WARNING: This program has memory leaks! Do not attempt\n"
"to leave it running for long periods of time!\n\n"
- " http://opendigitalradio.org\n\n"
+ " http://opendigitalradio.org\n\n",
+#if defined(GITVERSION)
+ GITVERSION
+#else
+ PACKAGE_VERSION
+#endif
);
fprintf(stderr, "Usage: %s [OPTIONS...]\n", name);
fprintf(stderr, " -d, --dir=DIRNAME Directory to read images from.\n"