Browse Source

Add more usage doc to tool

master
cancel 7 years ago
parent
commit
6ae58180a3
  1. 12
      tool

12
tool

@ -14,9 +14,19 @@ esac
print_usage() { print_usage() {
cat <<EOF cat <<EOF
Usage: tool [options] command [args] Usage: tool [options] command [args]
Commands:
build <target>
Compile orca.
Targets: debug, release
Default: debug
Output: debug/<target>/orca
clean
Removes build/
info
Prints information about the detected build environment.
Options: Options:
-v Print important commands as they're executed. -v Print important commands as they're executed.
-c <name> Use a specific compiler binary instead. -c <name> Use a specific compiler binary.
Default: \$CC, or cc Default: \$CC, or cc
-d Enable compiler safeguards like -fstack-protector. -d Enable compiler safeguards like -fstack-protector.
You should probably do this if you plan to give the You should probably do this if you plan to give the

Loading…
Cancel
Save