diff options
-rw-r--r-- | completion/bash-completion.sh | 2 | ||||
-rw-r--r-- | manuals/ponysay.texinfo | 5 | ||||
-rwxr-xr-x | ponysay | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/completion/bash-completion.sh b/completion/bash-completion.sh index 62e1d40..4f59a4a 100644 --- a/completion/bash-completion.sh +++ b/completion/bash-completion.sh @@ -20,7 +20,7 @@ _ponysay() quoters=$('/usr/bin/ponysay' --quoters) COMPREPLY=( $( compgen -W "$quoters" -- "$cur" ) ) - elif [ $prev = "-b" ] || [ $prev = "--balloon" ]; then + elif [ $prev = "-b" ] || [ $prev = "--balloon" ] || [ $prev = "--bubble" ]; then balloons=$('/usr/bin/ponysay' --balloonlist) COMPREPLY=( $( compgen -W "$balloons" -- "$cur" ) ) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index 8d6f3ff..d7b7ef2 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -227,7 +227,9 @@ on the terminal.) @item -L @itemx --altlist +@itemx --symlist @cindex @option{-L} +@cindex @option{--symlist} @cindex @option{--altlist} Lists all installed ponies. The ponies which have quotes, i.e. can be used with the @option{-q} option, will be marked by being printed in bold or bright (depending @@ -242,8 +244,10 @@ Just as @option{-l}, except it lists extra (non-MLP:FiM) ponies instead of stand (MLP:FiM) ponies. @item +L +@itemx ++symlist @itemx ++altlist @cindex @option{+L} +@cindex @option{++symlist} @cindex @option{++altlist} Just as @option{-L}, except it lists extra (non-MLP:FiM) ponies instead of standard (MLP:FiM) ponies. @@ -251,6 +255,7 @@ Just as @option{-L}, except it lists extra (non-MLP:FiM) ponies instead of stand @item -B @itemx --balloonlist @cindex @option{-B} +@cindex @option{--bubblelist} @cindex @option{--balloonlist} Prints a list of all balloon styles. @end table @@ -1721,10 +1721,10 @@ opts.add_argumentless(['++onelist']) opts.add_argumentless(['-h', '--help'], help = 'Print this help message.') opts.add_argumentless(['-v', '--version'], help = 'Print the version of the program.') opts.add_argumentless(['-l', '--list'], help = 'List pony names.') -opts.add_argumentless(['-L', '--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', '++altlist'], help = 'List non-MLP:FiM pony names with alternatives.') -opts.add_argumentless(['-B', '--balloonlist'], help = 'List balloon styles.') +opts.add_argumentless(['+L', '++symlist', '++altlist'], help = 'List non-MLP:FiM pony names with alternatives.') +opts.add_argumentless(['-B', '--bubblelist', '--balloonlist'], help = 'List balloon styles.') opts.add_argumentless(['-c', '--compact'], help = 'Compress messages.') opts.add_argumented( ['-W', '--wrap'], arg = 'COLUMN', help = 'Specify the column when the message should be wrapped.') opts.add_argumented( ['-b', '--bubble', '--balloon'], arg = 'STYLE', help = 'Select a balloon style.') |