mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 05:47:59 +01:00
Update ponysay
This commit is contained in:
parent
9dc80bf1b4
commit
7b4ce006cc
1 changed files with 2 additions and 1 deletions
3
ponysay
3
ponysay
|
@ -7,7 +7,7 @@ function ponyf() {
|
|||
if [[ -f ${ponydir}/${1}.cow ]] ; then
|
||||
cowsay -f "${ponydir}/${1}.cow" $@
|
||||
else
|
||||
ponyr
|
||||
ponyr $@
|
||||
fi
|
||||
}
|
||||
function ponyr() {
|
||||
|
@ -20,6 +20,7 @@ do
|
|||
v) echo "v0.01" ; exit;;
|
||||
h) echo "helpherpderp" ; exit;;
|
||||
f) ponyf $* ; exit;;
|
||||
\?) echo "DERP"; exit;;
|
||||
*) ponyr $* ; exit;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue