diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/refcat/cli.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/refcat/cli.py b/python/refcat/cli.py index d4b5b81..f47c63c 100644 --- a/python/refcat/cli.py +++ b/python/refcat/cli.py @@ -244,12 +244,13 @@ def main(): else: sys.exit(0) elif len(sys.argv) == 1: + shiv_root_default = os.path.join(os.path.expanduser("~"), ".shiv") print(__doc__) print("VERSION {}".format(__version__)) print("SETTINGS {}".format(settings.settings_file)) print("BASE {}".format(settings.BASE)) print("TMPDIR {}".format(settings.TMPDIR)) - print("SHIV_ROOT {}".format(os.environ.get("SHIV_ROOT"))) + print("SHIV_ROOT {}".format(os.environ.get("SHIV_ROOT") or shiv_root_default)) print() names = [ name for name in sorted(Register.task_names()) if name not in suppress_task_names and not name.islower() |