From cb70951a5f8e5a6e7c937d5473490e4408aee59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Mon, 29 Oct 2012 20:58:27 +0100 Subject: [PATCH] -c long option info/--help conflict --- manuals/ponysay.texinfo | 1 + ponysay.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index d9d26488..3b920211 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -267,6 +267,7 @@ on which hand is used to press the key, is also allowed. @itemx --compress @opindex @option{-c} @opindex @option{--compress} +@opindex @option{--compact} @pindex @command{figlet} @pindex @command{TOIlet} Compress the message in the same way @command{cowsay} does, that is basically diff --git a/ponysay.py b/ponysay.py index 74c4335b..f855017c 100755 --- a/ponysay.py +++ b/ponysay.py @@ -2463,7 +2463,7 @@ run `man ponysay`. Ponysay has so much more to offer than described here.''') opts.add_argumentless(['-A', '--all'], help = 'List all pony names.') opts.add_argumentless(['+A', '++all', '--symall', '--altall'], help = 'List all pony names with alternatives.') opts.add_argumentless(['-B', '--bubblelist', '--balloonlist'], help = 'List balloon styles.') - opts.add_argumentless(['-c', '--compact'], help = 'Compress messages.') + opts.add_argumentless(['-c', '--compress', '--compact'], help = 'Compress messages.') opts.add_argumentless(['-o', '--pony-only', '--ponyonly'], help = 'Print only the pony.') opts.add_argumented( ['-W', '--wrap'], arg = 'COLUMN', help = 'Specify column where the message should be wrapped.') opts.add_argumented( ['-b', '--bubble', '--balloon'], arg = 'STYLE', help = 'Select a balloon style.')