mirror of
https://github.com/cheat/cheat.git
synced 2024-11-13 23:51:09 +01:00
Merge
This commit is contained in:
parent
68de9655e5
commit
139ff6c32e
2 changed files with 4 additions and 3 deletions
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')
|
||||
|
|
3
setup.py
3
setup.py
|
@ -3,7 +3,8 @@
|
|||
from distutils.core import setup
|
||||
import os
|
||||
|
||||
setup(name='cheat',
|
||||
setup(
|
||||
name='cheat',
|
||||
version='1.0',
|
||||
summary='Create and view interactive cheatsheets on the command-line',
|
||||
homepage='',
|
||||
|
|
Loading…
Reference in a new issue