diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-03 17:05:03 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-03 17:05:03 +0100 |
commit | 0c1c574cd2f0984121e418d6e20d5d6357fc54fa (patch) | |
tree | e703e9e5de7ab36f7f6ac4d85dabc6130047878b /src/dabplus-enc.cpp | |
parent | 789bdc3270fa537914eacc77208a194c9eed2e53 (diff) | |
download | ODR-AudioEnc-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.tar.gz ODR-AudioEnc-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.tar.bz2 ODR-AudioEnc-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.zip |
Cleanup bootup screen
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r-- | src/dabplus-enc.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp index a28d6b2..8e280e4 100644 --- a/src/dabplus-enc.cpp +++ b/src/dabplus-enc.cpp @@ -74,8 +74,6 @@ void usage(const char* name) { "\n" "This encoder includes PAD (DLS and MOT Slideshow) support by\n" "http://rd.csp.it to be used with mot-encoder\n" - "\n" - " http://opendigitalradio.org\n" "\nUsage:\n" "%s (-i file|-d alsa_device) [OPTION...]\n", #if defined(GITVERSION) @@ -306,6 +304,19 @@ int main(int argc, char *argv[]) {0,0,0,0}, }; + fprintf(stderr, + "Welcome to %s %s, compiled at %s, %s", + PACKAGE_NAME, +#if defined(GITVERSION) + GITVERSION, +#else + PACKAGE_VERSION, +#endif + __DATE__, __TIME__); + fprintf(stderr, "\n"); + fprintf(stderr, " http://opendigitalradio.org\n\n"); + + if (argc < 2) { usage(argv[0]); return 1; |