windres: Print help and version texts to stdout
meson checks the output from --version, and expects to see it on stdout.
This commit is contained in:
1 parent
b1b6c0ba6f
commit
89c91ecaae
1 file changed
+2
-2
@@ -31,14 +31,14 @@ DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
export PATH=$DIR:$PATH
|
||||
|
||||
print_version () {
|
||||
cat <<EOF >&2
|
||||
cat <<EOF
|
||||
version: LLVM windres (GNU windres compatible) 0.1
|
||||
EOF
|
||||
exit 1
|
||||
}
|
||||
|
||||
print_help () {
|
||||
cat <<EOF >&2
|
||||
cat <<EOF
|
||||
usage: llvm-windres <OPTION> [INPUT-FILE] [OUTPUT-FILE]
|
||||
|
||||
LLVM Tool to manipulate Windows resources with a GNU windres interface.
|
||||
|
||||
Reference in new issue
Block a user