diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-02 17:33:35 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-09-02 17:33:35 +0200 |
commit | 6029664feeb5019c249dc68d17ed5fa84d996274 (patch) | |
tree | 3c22d746177bd0ce3a858390213dddf75f86fbcd | |
parent | dcef7ddfced0ff2a1ea013b30db7022bb55b2b07 (diff) | |
download | etisnoop-6029664feeb5019c249dc68d17ed5fa84d996274.tar.gz etisnoop-6029664feeb5019c249dc68d17ed5fa84d996274.tar.bz2 etisnoop-6029664feeb5019c249dc68d17ed5fa84d996274.zip |
Show GITVERSION in help screen
-rw-r--r-- | etisnoop.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/etisnoop.cpp b/etisnoop.cpp index 09cc793..504d446 100644 --- a/etisnoop.cpp +++ b/etisnoop.cpp @@ -199,7 +199,7 @@ const struct option longopts[] = { void usage(void) { fprintf(stderr, - "Opendigitalradio ETISnoop analyser\n\n" + "Opendigitalradio ETISnoop analyser %s compiled at %s, %s\n\n" "The ETISnoop analyser decodes and prints out a RAW ETI file in a\n" "form that makes analysis easier.\n" "\n" @@ -212,7 +212,13 @@ void usage(void) " -f analyse FIC carousel\n" " -r analyse FIG rates in FIGs per second\n" " -R analyse FIG rates in frames per FIG\n" - " -w decode CRC-DABMUX and ODR-DabMux watermark.\n"); + " -w decode CRC-DABMUX and ODR-DabMux watermark.\n", +#if defined(GITVERSION) + GITVERSION, +#else + VERSION, +#endif + __DATE__, __TIME__); } int main(int argc, char *argv[]) |