aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-03 00:16:56 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-03 00:16:56 +0200
commit575f880ceb77ad9fd8c82a22805dacee14acda82 (patch)
treed76671cb9cb93aeaa2a40b8f47ef5557234e950d
parent374e8093aca9131b089347196fd46f7c6fd78795 (diff)
downloadmpd-notification-575f880ceb77ad9fd8c82a22805dacee14acda82.tar.gz
mpd-notification-575f880ceb77ad9fd8c82a22805dacee14acda82.tar.zst
add note about debug output
-rw-r--r--mpd-notification.c6
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);