Include the --target option in the help dialog.
This commit is contained in:
parent
b9e339caf8
commit
c933c7e86e
|
@ -11,10 +11,11 @@ defaultBinLocation="$scriptDir/../libexec/ybcon"
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
if [ "$1" = false ]; then echo "Invalid arguments, usage:"; fi
|
if [ "$1" = false ]; then echo "Invalid arguments, usage:"; fi
|
||||||
echo "$EXENAME [--version] [-h|--help] [-p|--printresult] file"
|
echo "$EXENAME [--version] [-h|--help] [--target=<target>] [-p|--printresult] <file>"
|
||||||
if [ "$1" = true ]; then
|
if [ "$1" = true ]; then
|
||||||
echo " --version Print the version"
|
echo " --version Print the version"
|
||||||
echo " -h or --help What you're seeing right now"
|
echo " -h or --help What you're seeing right now"
|
||||||
|
echo " --target=<target> Set the transpilation target"
|
||||||
echo " -p or --printresult Enable printing the transpilation result to stdout"
|
echo " -p or --printresult Enable printing the transpilation result to stdout"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue