summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2015-09-23 11:13:07 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-04 16:29:31 +0100
commita241393e7b465ec0f263a7afaf20f7b65617adae (patch)
tree4cb6886134bba214c1918c3bbd927f88058cfe89 /main.cpp
parent3f900885df21200722b11bc09dad70af588e398e (diff)
downloadsubsurface-a241393e7b465ec0f263a7afaf20f7b65617adae.tar.gz
Print paths to internal files in verbose mode
When run with -v option, this prints local file names like the path to the local git repository and the hash file. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 747d2b27d..c288f68dc 100644
--- a/main.cpp
+++ b/main.cpp
@@ -74,6 +74,8 @@ int main(int argc, char **argv)
m->setLoadedWithFiles(!files.isEmpty() || !importedFiles.isEmpty());
m->loadFiles(files);
m->importFiles(importedFiles);
+ if (verbose > 0)
+ print_files();
if (!quit)
run_ui();
exit_ui();