mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-26 06:07: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
|
||||
v) version; exit ;;
|
||||
h) usage; exit ;;
|
||||
f) ponies+=($(echo $OPTARG | sed -e 's/ //g')) ;;
|
||||
f) ponies+=( $OPTARG ) ;;
|
||||
l) list; exit ;;
|
||||
L) linklist; exit ;;
|
||||
W) wrap="$OPTARG" ;;
|
||||
|
|
Loading…
Reference in a new issue