This commit is contained in:
John Shanahan 2013-09-03 23:53:58 -04:00
parent 68de9655e5
commit 139ff6c32e
2 changed files with 4 additions and 3 deletions

4
cheat
View File

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

View File

@ -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='',