remove commented out old code
This commit is contained in:
parent
b9b33d983d
commit
a917308d91
@ -934,7 +934,6 @@ def main():
|
|||||||
if len(sys.argv) > 1 and sys.argv[1] == 'help':
|
if len(sys.argv) > 1 and sys.argv[1] == 'help':
|
||||||
sys.argv = [sys.argv[0], '-h'] + sys.argv[2:]
|
sys.argv = [sys.argv[0], '-h'] + sys.argv[2:]
|
||||||
|
|
||||||
# help_triggered = ('-h' in sys.argv) or ('--help' in sys.argv) or (len(sys.argv) == 1)
|
|
||||||
help_triggered = len(sys.argv) == 1 or any(x in ["-h", "--help", "--version"] for x in sys.argv)
|
help_triggered = len(sys.argv) == 1 or any(x in ["-h", "--help", "--version"] for x in sys.argv)
|
||||||
try:
|
try:
|
||||||
bootstrap(help_triggered)
|
bootstrap(help_triggered)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user