mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
Added '-help' and 'cheat' to the list of cheat usage arguments.
This commit is contained in:
parent
7cf6291c8a
commit
cc47515f41
1 changed files with 1 additions and 1 deletions
2
cheat
2
cheat
|
@ -16,7 +16,7 @@ cheatsheets = os.listdir(cheat_dir)
|
|||
cheatsheets.sort()
|
||||
|
||||
# print help if requested
|
||||
if keyphrase in ['', 'help', '--help', '-h']:
|
||||
if keyphrase in ['', '-h', 'help', '-help', '--help', 'cheat']:
|
||||
print "Usage: cheat [keyphrase]\n"
|
||||
print "Available keyphrases:"
|
||||
print "\n".join(cheatsheets)
|
||||
|
|
Loading…
Reference in a new issue