Added option -h also for help
This commit is contained in:
parent
85cee36e03
commit
c6025205e4
2 changed files with 6 additions and 6 deletions
Binary file not shown.
12
check.py
12
check.py
|
@ -14,12 +14,12 @@ from modules import missing
|
|||
|
||||
args = sys.argv
|
||||
|
||||
if "--help" in args:
|
||||
print("You can use the next commands after check.py")
|
||||
print()
|
||||
print(" -links | Will skip checking the links")
|
||||
print()
|
||||
print(" --help | Displays this help menu")
|
||||
if "--help" in args or "-h" in args:
|
||||
print("""You can use the next commands after check.py
|
||||
|
||||
-links | Will skip checking the links
|
||||
|
||||
--help | Displays this help menu""")
|
||||
exit()
|
||||
|
||||
# TODO: Make a pull-request before starting
|
||||
|
|
Loading…
Reference in a new issue