aboutsummaryrefslogtreecommitdiff
path: root/ponysay.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-18 21:05:45 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-18 21:05:45 +0200
commit3d7768e2efd138e089850d0e41b7f5a12d0f6fc9 (patch)
tree128333b7913eef7c2cb42996933e46da38f43f27 /ponysay.py
parent27f266731f13c839872e34809a3f5d640da27fc3 (diff)
downloadponysay-3d7768e2efd138e089850d0e41b7f5a12d0f6fc9.tar.gz
ponysay-3d7768e2efd138e089850d0e41b7f5a12d0f6fc9.tar.bz2
ponysay-3d7768e2efd138e089850d0e41b7f5a12d0f6fc9.zip
make fix + m
Diffstat (limited to 'ponysay.py')
-rwxr-xr-xponysay.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ponysay.py b/ponysay.py
index f6ba701..6284dd7 100755
--- a/ponysay.py
+++ b/ponysay.py
@@ -25,7 +25,7 @@ from subprocess import Popen, PIPE
'''
The version of ponysay
'''
-VERSION = '2.0-alpha'
+VERSION = '2.0-rc1'
'''
@@ -49,7 +49,7 @@ linuxvt = os.environ['TERM'] == 'linux'
'''
Whether the program is launched in subshell/being redirected
'''
-redirected = not sys.stdout.isatty()
+redirected = False #not sys.stdout.isatty() # currently impossible, we need to get rid of the little shell script first
'''
@@ -77,7 +77,7 @@ for quotedir in _quotedirs:
'''
Argument parsing
'''
-parser = argparse.ArgumentParser(prog = 'ponysay', description = 'Like cowsay with ponies.')
+parser = argparse.ArgumentParser(prog = 'ponysay', description = 'cowsay wrapper for ponies')
parser.add_argument('-v', '--version', action = 'version', version = '%s %s' % ('ponysay', VERSION))
parser.add_argument('-l', '--list', action = 'store_true', dest = 'list', help = 'list pony files')