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
|
# create/edit option
|
||||||
option = sys.argv[1].lower()
|
option = sys.argv[1].lower()
|
||||||
if option in ['-e', '--edit', '-c', '--create']:
|
if option in ['-e', '--edit', '-c', '--create']:
|
||||||
# make sure EDITOR environment variable is set and that at least 3 arguments
|
# make sure EDITOR env variable is set and that at least
|
||||||
# are given
|
# 3 arguments are given
|
||||||
if 'EDITOR' not in os.environ:
|
if 'EDITOR' not in os.environ:
|
||||||
print('In order to use "create" or "edit" you must set your '
|
print('In order to use "create" or "edit" you must set your '
|
||||||
'EDITOR environment variable to your favorite editor\'s path')
|
'EDITOR environment variable to your favorite editor\'s path')
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -3,7 +3,8 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
import os
|
import os
|
||||||
|
|
||||||
setup(name='cheat',
|
setup(
|
||||||
|
name='cheat',
|
||||||
version='1.0',
|
version='1.0',
|
||||||
summary='Create and view interactive cheatsheets on the command-line',
|
summary='Create and view interactive cheatsheets on the command-line',
|
||||||
homepage='',
|
homepage='',
|
||||||
|
|
Loading…
Reference in New Issue