diff options
author | Sosthène Guédon <sosthene.gued@gmail.com> | 2019-06-16 12:21:03 +0200 |
---|---|---|
committer | Sosthène Guédon <sosthene.gued@gmail.com> | 2019-06-16 12:21:03 +0200 |
commit | 4ad884987ed5ee97f90860b188a056bff45f3001 (patch) | |
tree | 73b61e9d14c6b8b6f5551e737fdbfef9163fa227 /src/main.c | |
parent | e2cd442811ce3d5d602e1e3d90173af77e5041d4 (diff) |
Add config dir and file to --version
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |