aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-08-22 05:16:32 +0200
committerMattias Andrée <maandree@operamail.com>2012-08-22 05:16:32 +0200
commit607fafbc3a40a615750e817f5e8b443b062579d8 (patch)
tree3982499221154e9e5f6a96fd63050e1d4f144793
parentc028dd9537729c12c64fd7e8a8c8c472eb4b431d (diff)
downloadponysay-607fafbc3a40a615750e817f5e8b443b062579d8.tar.gz
ponysay-607fafbc3a40a615750e817f5e8b443b062579d8.tar.bz2
ponysay-607fafbc3a40a615750e817f5e8b443b062579d8.zip
manual update
-rw-r--r--manuals/ponysay.texinfo24
-rwxr-xr-xponysay15
2 files changed, 31 insertions, 8 deletions
diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo
index 0d8c8b1..6689d5f 100644
--- a/manuals/ponysay.texinfo
+++ b/manuals/ponysay.texinfo
@@ -181,6 +181,13 @@ The argument can be a file name, but pony if it ends with @code{.pony}.
Specify the screen column where the message should be wrapped,
this is by default 40, which is inherited from @command{cowsay}.
+@item -c
+@itemx --compress
+@cindex @command{-c}
+@cindex @command{--compress}
+Compress the message in the same way @command{cowsay} does, that is basically
+without multiple spaces, one only paragraphs seperations.
+
@item -l
@itemx --list
@cindex @command{-l}
@@ -346,6 +353,23 @@ Export @code{PONYSAY_TRUNCATE_HEIGHT} with the value @code{yes}, @code{y}
or @code{1}, if you want to truncate the output on the height even if you
are not running @command{ponysay} under TTY.
+@item PONYSAY_UCS_ME
+@cindex PONYSAY_UCS_ME
+@cindex ucs
+@cindex universal character set
+@cindex unicode
+@cindex ascii
+Export @code{PONYSAY_UCS_ME} with the value @code{yes}, @code{y} or @code{1},
+if you want [simulated] symlink to pony files using Universal Character Set
+in their names. Otherwise pony files uses only ASCII. If you want to remove
+the ASCII:ised names export @code{PONYSAY_UCS_ME} with the value @code{harder},
+@code{h} or @code{2} instead.
+
+If you have not enabled this, UCS names are not usable, suggested or listed.
+If you use @code{yes} UCS names will be usable, suggested or listed. If you
+use @code{harder} ASCII:ised names will not be suggested or listed, but they
+will still be usable.
+
@item PONYSAY_COWSAY
@itemx PONYSAY_COWTHINK
@cindex PONYSAY_COWSAY
diff --git a/ponysay b/ponysay
index 6b33005..9fc8c70 100755
--- a/ponysay
+++ b/ponysay
@@ -1639,15 +1639,14 @@ for balloondir in _balloondirs:
usage_saythink = '\033[34;1m(ponysay | ponythink)\033[21;39m'
-usage_wrap = '--wrap \033[4mCOLUMN\033[24m'
-usage_balloon = '--balloon \033[4mSTYLE\033[24m'
-usage_listhelp = '(--list | --altlist | --balloonlist | --version | --help)'
-usage_file = '[--pony \033[4mPONY\033[24m]... ([--] \033[4mmessage\033[24m | <<<\033[4mmessage\033[24m)'
-usage_quote = '--quote [\033[4mPONY\033[24m...]'
+usage_common = '[-c] [-W \033[4mCOLUMN\033[24m] [-b \033[4mSTYLE\033[24m]'
+usage_listhelp = '(-l | -L | -B | -v | -h)'
+usage_file = '[-f \033[4mPONY\033[24m]... ([--] \033[4mmessage\033[24m | <<<\033[4mmessage\033[24m)'
+usage_quote = '-q [\033[4mPONY\033[24m...]'
-usage = '%s %s\n%s [%s] [%s] %s\n%s [%s] [%s] %s' % (usage_saythink, usage_listhelp,
- usage_saythink, usage_wrap, usage_balloon, usage_file,
- usage_saythink, usage_wrap, usage_balloon, usage_quote)
+usage = '%s %s\n%s %s %s\n%s %s %s' % (usage_saythink, usage_listhelp,
+ usage_saythink, usage_common, usage_file,
+ usage_saythink, usage_common, usage_quote)
usage = usage.replace('\033[', '\0')
for sym in ('[', ']', '(', ')', '|', '...'):