in case you want to run ponysay -l | less -r

This commit is contained in:
Mattias Andrée 2012-08-21 16:21:35 +02:00
parent 504a6bd5f5
commit b66b3b5bfc

View file

@ -46,10 +46,6 @@ class Ponysay():
args.help() args.help()
return return
if (args.opts['-l'] is not None) and pipelineout:
args.opts['--onelist'] = args.opts['-l']
args.opts['-l'] = None
if args.opts['-h'] is not None: args.help() if args.opts['-h'] is not None: args.help()
elif args.opts['--quoters'] is not None: self.quoters() elif args.opts['--quoters'] is not None: self.quoters()
elif args.opts['--onelist'] is not None: self.onelist() elif args.opts['--onelist'] is not None: self.onelist()