From 1349e8b732f4a58574b2d2ec5167558a08a098cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Tue, 23 Apr 2013 09:07:56 +0200 Subject: [PATCH] add +q and -Q to opt parsing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/__main__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/__main__.py b/src/__main__.py index 75d4c681..e1bec3a7 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -138,6 +138,8 @@ run `man ponysay`. Ponysay has so much more to offer than described here.''') opts.add_argumented( ['+f', '++file', '++pony'], arg = 'PONY', help = 'Select a non-MLP:FiM pony.') opts.add_argumented( ['-F'] + _F, arg = 'PONY', help = 'Select a pony, that can be a non-MLP:FiM pony.') opts.add_argumented( ['-q', '--quote'], arg = 'PONY', help = 'Select a pony which will quote herself.') + opts.add_argumented( ['+q', '++quote'], arg = 'PONY', help = 'Select a non-MLP:FiM pony which will quote herself.') + opts.add_argumented( ['-Q', '--anyquote', '--any-quote'], arg = 'PONY', help = 'Select a pony, that can be a non-MLP:FiM pony, which will quote herself.') opts.add_variadic( ['--f', '--files', '--ponies'], arg = 'PONY') opts.add_variadic( ['++f', '++files', '++ponies'], arg = 'PONY') opts.add_variadic( ['--F'] + __F, arg = 'PONY')