mirror of https://github.com/cheat/cheat.git
Merge
This commit is contained in:
parent
68de9655e5
commit
139ff6c32e
4
cheat
4
cheat
|
@ -141,8 +141,8 @@ def main():
|
|||
# create/edit option
|
||||
option = sys.argv[1].lower()
|
||||
if option in ['-e', '--edit', '-c', '--create']:
|
||||
# make sure EDITOR environment variable is set and that at least 3 arguments
|
||||
# are given
|
||||
# make sure EDITOR env variable is set and that at least
|
||||
# 3 arguments are given
|
||||
if 'EDITOR' not in os.environ:
|
||||
print('In order to use "create" or "edit" you must set your '
|
||||
'EDITOR environment variable to your favorite editor\'s path')
|
||||
|
|
Loading…
Reference in New Issue