summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38cb8e5)
raw | patch | inline | side by side (parent: 38cb8e5)
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Mon, 14 Nov 2011 05:49:52 +0000 (06:49 +0100) | ||
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | |
Mon, 14 Nov 2011 21:26:02 +0000 (22:26 +0100) |
src/options.c | patch | blob | history |
diff --git a/src/options.c b/src/options.c
index 322b66d81622f52009d084b42fefeb6a58c7078b..f7044ccbe24ddd9645b77a2e8f66f61c75291b03 100644 (file)
--- a/src/options.c
+++ b/src/options.c
g_free(options.key_file);
options.key_file = g_strdup(arg);
break;
-#ifndef NDEBUG
-#ifndef NCMPC_MINI
+#if !defined(NDEBUG) && !defined(NCMPC_MINI)
case 'K': /* --dump-keys */
read_configuration();
write_key_bindings(stdout, KEYDEF_WRITE_ALL | KEYDEF_COMMENT_ALL);
exit(EXIT_SUCCESS);
break;
-#endif
#endif
default:
fprintf(stderr,"Unknown Option %c = %s\n", c, arg);