diff options
author | Christian Hesse <mail@eworm.de> | 2013-07-03 00:16:56 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-07-03 00:16:56 +0200 |
commit | 575f880ceb77ad9fd8c82a22805dacee14acda82 (patch) | |
tree | d76671cb9cb93aeaa2a40b8f47ef5557234e950d /mpd-notification.c | |
parent | 374e8093aca9131b089347196fd46f7c6fd78795 (diff) | |
download | mpd-notification-575f880ceb77ad9fd8c82a22805dacee14acda82.tar.gz mpd-notification-575f880ceb77ad9fd8c82a22805dacee14acda82.tar.zst |
add note about debug output
Diffstat (limited to 'mpd-notification.c')
-rw-r--r-- | mpd-notification.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c index e844eea..c9d1bff 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -37,7 +37,11 @@ int main(int argc, char ** argv) { struct mpd_connection * conn = NULL; struct mpd_song * song = NULL; - printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ ")\n", argv[0], PROGNAME, VERSION); + printf("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ +#if DEBUG + ", with debug output" +#endif + ")\n", argv[0], PROGNAME, VERSION); conn = mpd_connection_new(NULL, 0, 30000); |