mirror of
https://github.com/erkin/ponysay
synced 2024-11-23 11:53:14 +00:00
spaces in -f argument are not longer removed, it causes problem with file names including spaces
This commit is contained in:
parent
61c38c65f4
commit
f8591ed576
1 changed files with 1 additions and 1 deletions
2
ponysay
2
ponysay
|
@ -224,7 +224,7 @@ while getopts $opts OPT; do
|
||||||
case ${OPT} in
|
case ${OPT} in
|
||||||
v) version; exit ;;
|
v) version; exit ;;
|
||||||
h) usage; exit ;;
|
h) usage; exit ;;
|
||||||
f) ponies+=($(echo $OPTARG | sed -e 's/ //g')) ;;
|
f) ponies+=( $OPTARG ) ;;
|
||||||
l) list; exit ;;
|
l) list; exit ;;
|
||||||
L) linklist; exit ;;
|
L) linklist; exit ;;
|
||||||
W) wrap="$OPTARG" ;;
|
W) wrap="$OPTARG" ;;
|
||||||
|
|
Loading…
Reference in a new issue