mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-18 02:24:21 +01:00
misc
This commit is contained in:
parent
2eb9342b86
commit
8cc7a919b4
3 changed files with 33 additions and 10 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Version 2.3
|
||||||
|
|
||||||
|
Support for 'best.pony' file.
|
||||||
|
|
||||||
|
`-q` accepts file names.
|
||||||
|
|
||||||
|
|
||||||
Version 2.2
|
Version 2.2
|
||||||
|
|
||||||
Full support for arbitrary positioning of balloon in pony files.
|
Full support for arbitrary positioning of balloon in pony files.
|
||||||
|
@ -8,7 +15,7 @@ Version 2.2
|
||||||
Support for colours in the message.
|
Support for colours in the message.
|
||||||
|
|
||||||
Support custom balloon styles using the option '-b', '-B' will list all
|
Support custom balloon styles using the option '-b', '-B' will list all
|
||||||
available. This list depends on whether you are invoking `ponysay` or `ponythink`
|
available. This list depends on whether you are invoking `ponysay` or `ponythink`.
|
||||||
|
|
||||||
|
|
||||||
Version 2.1.1
|
Version 2.1.1
|
||||||
|
|
|
@ -8,15 +8,15 @@ set -g quoters ('/usr/bin/ponysay' --quoters)
|
||||||
set -g balloons ('/usr/bin/ponysay' --balloonlist)
|
set -g balloons ('/usr/bin/ponysay' --balloonlist)
|
||||||
|
|
||||||
|
|
||||||
complete --command ponysay --short-option h --long-option help --description 'help of ponysay'
|
complete --command ponysay --short-option h --long-option help --description 'help of ponysay'
|
||||||
complete --command ponysay --short-option v --long-option version --description 'version of ponysay'
|
complete --command ponysay --short-option v --long-option version --description 'version of ponysay'
|
||||||
complete --command ponysay --short-option l --long-option list --description 'list pony names'
|
complete --command ponysay --short-option l --long-option list --description 'list pony names'
|
||||||
complete --command ponysay --short-option L --long-option altlist --description 'list pony names with alternatives'
|
complete --command ponysay --short-option L --long-option altlist --description 'list pony names with alternatives'
|
||||||
complete --command ponysay --short-option B --long-option balloonlist --description 'list balloon style names'
|
complete --command ponysay --short-option B --long-option balloonlist --description 'list balloon style names'
|
||||||
complete --command ponysay --short-option f --long-option pony --arguments "$ponies" --description 'pony'
|
complete --command ponysay --short-option f --long-option pony --arguments "$ponies" --description 'pony'
|
||||||
complete --command ponysay --short-option q --long-option quote --arguments "$quoters" --no-files --description 'pony'
|
complete --command ponysay --short-option q --long-option quote --arguments "$quoters" --description 'pony'
|
||||||
complete --command ponysay --short-option b --long-option balloon --arguments "$balloons" --description 'balloon style'
|
complete --command ponysay --short-option b --long-option balloon --arguments "$balloons" --description 'balloon style'
|
||||||
complete --command ponysay --short-option W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped'
|
complete --command ponysay --short-option W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped'
|
||||||
complete --command ponysay --arguments 'MESSAGE'
|
complete --command ponysay --arguments 'MESSAGE'
|
||||||
|
|
||||||
set -e ponies
|
set -e ponies
|
||||||
|
|
|
@ -172,6 +172,8 @@ is added as an argument after @command{-q}. If one or more ponies are added afte
|
||||||
This option requires the extension @command{ponyquotes4ponysay}, which
|
This option requires the extension @command{ponyquotes4ponysay}, which
|
||||||
is included by default since version 1.2.
|
is included by default since version 1.2.
|
||||||
|
|
||||||
|
The argument can be a file name, but pony if it ends with @code{.pony}.
|
||||||
|
|
||||||
@item -W COLUMN
|
@item -W COLUMN
|
||||||
@itemx --wrap COLUMN
|
@itemx --wrap COLUMN
|
||||||
@cindex @command{-W}
|
@cindex @command{-W}
|
||||||
|
@ -206,12 +208,17 @@ target ponies.
|
||||||
Prints a list of all balloon styles.
|
Prints a list of all balloon styles.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@cindex @var{message}
|
||||||
If neither @command{-q} is used nor any @var{message} is specified, @command{ponysay}
|
If neither @command{-q} is used nor any @var{message} is specified, @command{ponysay}
|
||||||
will read the message from stdin (standard input); however, if no arguments
|
will read the message from stdin (standard input); however, if no arguments
|
||||||
are used that nothing is piped to stdin, a help message will be printed.
|
are used that nothing is piped to stdin, a help message will be printed.
|
||||||
If you want to use @command{ponysay} without arguments and enter the message
|
If you want to use @command{ponysay} without arguments and enter the message
|
||||||
by hand, you can run @code{cat | ponysay}.
|
by hand, you can run @code{cat | ponysay}.
|
||||||
|
|
||||||
|
@cindex @code{best.pony}
|
||||||
|
If no pony is selected, @command{ponysay} will look for a @code{best.pony} file,
|
||||||
|
this should be a symbolic link to the pony you want as a default. If it is not
|
||||||
|
a symbolic link, @command{-q} cannot determine which quotes to use.
|
||||||
|
|
||||||
|
|
||||||
@node Advanced usage
|
@node Advanced usage
|
||||||
|
@ -1124,6 +1131,15 @@ first pony file in common.
|
||||||
@cindex versions
|
@cindex versions
|
||||||
@cindex previous releases
|
@cindex previous releases
|
||||||
|
|
||||||
|
@heading Version 2.3
|
||||||
|
|
||||||
|
@itemize @bullet
|
||||||
|
@item
|
||||||
|
Support for @code{best.pony} file.
|
||||||
|
@item
|
||||||
|
@code{-q} accepts file names.
|
||||||
|
@end itemize
|
||||||
|
|
||||||
@heading Version 2.2
|
@heading Version 2.2
|
||||||
|
|
||||||
@itemize @bullet
|
@itemize @bullet
|
||||||
|
|
Loading…
Reference in a new issue