Make --version end with a newline, fixes #96

This commit is contained in:
Julian Ospald 2019-05-30 11:56:38 +08:00
parent ee2d370ece
commit aa523a206a
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 1 additions and 1 deletions

2
ghcup
View File

@ -1934,7 +1934,7 @@ while [ $# -gt 0 ] ; do
fi
;;
-V|--version)
printf "%s" "${VERSION}"
printf "%s\\n" "${VERSION}"
exit 0;;
-h|--help)
usage;;