mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-22 12:27:59 +01: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