mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 20:38:00 +01:00
Added -A, +A (--all, ++all) opts for show both fim and non fim mlp ponies
This commit is contained in:
parent
9841942ebc
commit
41bd18af8f
1 changed files with 18 additions and 14 deletions
4
ponysay
4
ponysay
|
@ -67,6 +67,8 @@ class Ponysay():
|
||||||
elif args.opts['++onelist'] is not None: self.__extraponies(); self.onelist()
|
elif args.opts['++onelist'] is not None: self.__extraponies(); self.onelist()
|
||||||
elif args.opts['+l'] is not None: self.__extraponies(); self.list()
|
elif args.opts['+l'] is not None: self.__extraponies(); self.list()
|
||||||
elif args.opts['+L'] is not None: self.__extraponies(); self.linklist()
|
elif args.opts['+L'] is not None: self.__extraponies(); self.linklist()
|
||||||
|
elif args.opts['-A'] is not None: self.list(); self.__extraponies(); self.list()
|
||||||
|
elif args.opts['+A'] is not None: self.linklist(); self.__extraponies(); self.linklist()
|
||||||
else:
|
else:
|
||||||
self.__extraponies(args)
|
self.__extraponies(args)
|
||||||
self.__bestpony(args)
|
self.__bestpony(args)
|
||||||
|
@ -1756,6 +1758,8 @@ opts.add_argumentless(['-l', '--list'], help =
|
||||||
opts.add_argumentless(['-L', '--symlist', '--altlist'], help = 'List pony names with alternatives.')
|
opts.add_argumentless(['-L', '--symlist', '--altlist'], help = 'List pony names with alternatives.')
|
||||||
opts.add_argumentless(['+l', '++list'], help = 'List non-MLP:FiM pony names.')
|
opts.add_argumentless(['+l', '++list'], help = 'List non-MLP:FiM pony names.')
|
||||||
opts.add_argumentless(['+L', '++symlist', '++altlist'], help = 'List non-MLP:FiM pony names with alternatives.')
|
opts.add_argumentless(['+L', '++symlist', '++altlist'], help = 'List non-MLP:FiM pony names with alternatives.')
|
||||||
|
opts.add_argumentless(['-A', '--all'], help = 'List MLP:FIM and non-MLP:FiM pony names.')
|
||||||
|
opts.add_argumentless(['+A', '++all'], help = 'List MLP:FIM and non-MLP:FiM pony names with alternatives.')
|
||||||
opts.add_argumentless(['-B', '--bubblelist', '--balloonlist'], help = 'List balloon styles.')
|
opts.add_argumentless(['-B', '--bubblelist', '--balloonlist'], help = 'List balloon styles.')
|
||||||
opts.add_argumentless(['-c', '--compact'], help = 'Compress messages.')
|
opts.add_argumentless(['-c', '--compact'], help = 'Compress messages.')
|
||||||
opts.add_argumented( ['-W', '--wrap'], arg = 'COLUMN', help = 'Specify column where the message should be wrapped.')
|
opts.add_argumented( ['-W', '--wrap'], arg = 'COLUMN', help = 'Specify column where the message should be wrapped.')
|
||||||
|
|
Loading…
Reference in a new issue