aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG9
-rw-r--r--completion/fish-completion.fish18
-rw-r--r--manuals/ponysay.texinfo16
3 files changed, 33 insertions, 10 deletions
diff --git a/CHANGELOG b/CHANGELOG
index cc46a68..9c56e93 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+Version 2.3
+
+ Support for 'best.pony' file.
+
+ `-q` accepts file names.
+
+
Version 2.2
Full support for arbitrary positioning of balloon in pony files.
@@ -8,7 +15,7 @@ Version 2.2
Support for colours in the message.
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
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index ead664b..c211982 100644
--- a/completion/fish-completion.fish
+++ b/completion/fish-completion.fish
@@ -8,15 +8,15 @@ set -g quoters ('/usr/bin/ponysay' --quoters)
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 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 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 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 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 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 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 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 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 W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped'
complete --command ponysay --arguments 'MESSAGE'
set -e ponies
diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo
index 766c73e..137ec79 100644
--- a/manuals/ponysay.texinfo
+++ b/manuals/ponysay.texinfo
@@ -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
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
@itemx --wrap COLUMN
@cindex @command{-W}
@@ -206,12 +208,17 @@ target ponies.
Prints a list of all balloon styles.
@end table
+@cindex @var{message}
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
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
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
@@ -1124,6 +1131,15 @@ first pony file in common.
@cindex versions
@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
@itemize @bullet