mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-28 23:17:59 +01:00
fix -f, +f, -F issue
Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
parent
0d880ead2a
commit
d234ee6c6c
1 changed files with 1 additions and 1 deletions
|
@ -826,7 +826,7 @@ class Ponysay():
|
||||||
for (opt, ponies, quotes) in [('-f', standard, False), ('+f', extra, False), ('-F', both, False), ('-q', standard, True)]:
|
for (opt, ponies, quotes) in [('-f', standard, False), ('+f', extra, False), ('-F', both, False), ('-q', standard, True)]:
|
||||||
if args.opts[opt] is not None:
|
if args.opts[opt] is not None:
|
||||||
for pony in args.opts[opt]:
|
for pony in args.opts[opt]:
|
||||||
selection.append((opt, ponies, quotes))
|
selection.append((pony, ponies, quotes))
|
||||||
## TODO +q -Q
|
## TODO +q -Q
|
||||||
(pony, quote) = self.__getPony(selection, args)
|
(pony, quote) = self.__getPony(selection, args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue