aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-21 03:58:43 -0700
committerMattias Andrée <maandree@operamail.com>2012-07-21 03:58:43 -0700
commit232fd2461ab2d53a22524c2771e7d1d71d57c37f (patch)
tree08a91b7688b912dbbcb34f47a3fb7a02b2ddd01a /ponysay
parentca0fffcd618d23cf00d9ea0959f84323b415085b (diff)
parent991ab2cf03a895f238d07fb4c112c1200f15c984 (diff)
downloadponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.tar.gz
ponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.tar.bz2
ponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.zip
Merge pull request #51 from etu/master
Fixed support for multiple -f that I broke, and made fish-completions support the new .pony-name-format
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay2
1 files changed, 1 insertions, 1 deletions
diff --git a/ponysay b/ponysay
index 4a73cbe..0d84cd8 100755
--- a/ponysay
+++ b/ponysay
@@ -270,7 +270,7 @@ while getopts $opts OPT; do
case ${OPT} in
v) version; exit ;;
h) usage; exit ;;
- f) ponies=($(echo $OPTARG | sed -e 's/ //g' -e 's/,/\n/')) ;;
+ f) ponies+=($(echo $OPTARG | sed -e 's/ //g')) ;;
l) list; exit ;;
L) linklist; exit ;;
W) wrap="$OPTARG" ;;