diff --git a/wobbl_tools/text/tree_view.py b/wobbl_tools/text/tree_view.py index b46aa1d..efb05fa 100644 --- a/wobbl_tools/text/tree_view.py +++ b/wobbl_tools/text/tree_view.py @@ -69,6 +69,9 @@ if __name__ == "__main__": if len(sys.argv) == 1: # use first command line argument when set, else use the module path path = module_path + elif sys.argv[1] == "-v": # if -v parameter is set, the program will view the current directory + path = os.getcwd() + else: path = sys.argv[1]