Skip to content

Commit 7ff9cc4

Browse files
committed
Made '-h' the default argument. Fixes #54.
1 parent be6caeb commit 7ff9cc4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

structure_threader/structure_threader.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,9 @@ def main():
499499
from.
500500
"""
501501

502+
# Make sure we provide an help message instead of an error
503+
if len(sys.argv) == 1:
504+
sys.argv += ["-h"]
502505
arg = argument_parser(sys.argv[1:])
503506

504507
# Check the existance of several files:

0 commit comments

Comments
 (0)