Include the --target option in the help dialog.

This commit is contained in:
Username404-59 2021-03-26 10:16:48 +01:00
parent b9e339caf8
commit c933c7e86e
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 1 deletions

View File

@ -11,10 +11,11 @@ defaultBinLocation="$scriptDir/../libexec/ybcon"
usage() {
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
echo " --version Print the version"
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"
fi
}