Browse Source

Check for the --verbose (or --debug) argument early.

master
poikilos 3 years ago
parent
commit
dc7efe662a
  1. 9
      utilities/enissue.py

9
utilities/enissue.py

@ -100,6 +100,15 @@ def error(*args, **kwargs):
# https://api.github.com/repos/poikilos/EnlivenMinetest/issues/475/timeline
verbose = False
for argI in range(1, len(sys.argv)):
arg = sys.argv[argI]
if arg.startswith("--"):
if arg == "--debug":
verbose = True
elif arg == "--verbose":
verbose = True
default_options = {
# 'repo_url': "https://api.github.com/repos/poikilos/EnlivenMinetest",
'repo_url': "https://github.com/poikilos/EnlivenMinetest",

Loading…
Cancel
Save