summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 12:21:03 +0200
committerSosthène Guédon <sosthene.gued@gmail.com>2019-06-16 12:21:03 +0200
commit4ad884987ed5ee97f90860b188a056bff45f3001 (patch)
tree73b61e9d14c6b8b6f5551e737fdbfef9163fa227 /src/main.c
parente2cd442811ce3d5d602e1e3d90173af77e5041d4 (diff)
Add config dir and file to --version
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3edc858..5d13a9f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -775,6 +775,12 @@ void show_version_and_quit() {
#ifdef DFLT_PAGER
sc_info("-DDFLT_PAGER=\"%s\"", DFLT_PAGER);
#endif
+#ifdef CONFIG_DIR
+ sc_info("-DCONFIG_DIR=\"%s\"", CONFIG_DIR);
+#endif
+#ifdef CONFIG_FILE
+ sc_info("-DCONFIG_FILE=\"%s\"", CONFIG_FILE);
+#endif
#ifdef HISTORY_DIR
sc_info("-DHISTORY_DIR=\"%s\"", HISTORY_DIR);
#endif