mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Merging shanahanjrs work into master.
This commit is contained in:
commit
13c8d60d75
1 changed files with 1 additions and 1 deletions
2
cheat
2
cheat
|
@ -28,7 +28,7 @@ if not cheat_dirs:
|
|||
cheatsheets = cheat_files(cheat_dirs)
|
||||
|
||||
# print help if requested
|
||||
if keyphrase.lower() in ['', 'help', '--help', '-h']:
|
||||
if keyphrase.lower() in ['', 'cheat', 'help', '-h', '-help', '--help']:
|
||||
print "Usage: cheat [keyphrase]\n"
|
||||
print "Available keyphrases:"
|
||||
max_command = max([ len(x) for x in cheatsheets.keys() ]) + 3
|
||||
|
|
Loading…
Reference in a new issue