From 0c1c574cd2f0984121e418d6e20d5d6357fc54fa Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 3 Nov 2014 17:05:03 +0100 Subject: Cleanup bootup screen --- src/dabplus-enc.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3