summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d331e9)
raw | patch | inline | side by side (parent: 2d331e9)
author | Patrick Hallen <patrick.hallen@rwth-aachen.de> | |
Sun, 29 Mar 2009 16:24:19 +0000 (18:24 +0200) | ||
committer | Patrick Hallen <patrick.hallen@rwth-aachen.de> | |
Sun, 29 Mar 2009 16:24:19 +0000 (18:24 +0200) |
With NCMPC_MINI we have no configuration file, so we can't dump the keys.
src/options.c | patch | blob | history |
diff --git a/src/options.c b/src/options.c
index 44840548eb1c734521d5d1a1b3d8a0426b24d1a6..3e862d2a8d9f2c425d212b3294150a67aca202f8 100644 (file)
--- a/src/options.c
+++ b/src/options.c
/* the splash screen was removed */
break;
#ifndef NDEBUG
+#ifndef 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);