mirror of https://github.com/cheat/cheat.git
Added '-help' and 'cheat' to the list of cheat usage arguments.
This commit is contained in:
parent
7cf6291c8a
commit
cc47515f41
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 New Issue