Added '-help' and 'cheat' to the list of cheat usage arguments.

This commit is contained in:
John Shanahan 2013-08-15 17:49:30 -04:00
parent 7cf6291c8a
commit cc47515f41
1 changed files with 1 additions and 1 deletions

2
cheat
View File

@ -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)