mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 13:57:59 +01:00
Usage on error should go to STDERR
This commit is contained in:
parent
9e222c3d09
commit
0d3de45f02
1 changed files with 1 additions and 1 deletions
2
ponysay
2
ponysay
|
@ -30,7 +30,7 @@ do
|
||||||
v) version; exit ;;
|
v) version; exit ;;
|
||||||
h) usage; exit ;;
|
h) usage; exit ;;
|
||||||
f) pony=$OPTARG ;;
|
f) pony=$OPTARG ;;
|
||||||
\?) usage; exit 1 ;;
|
\?) usage >&2; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue