|
@ -5,11 +5,9 @@ print_usage() { |
|
|
cat <<EOF |
|
|
cat <<EOF |
|
|
Usage: tool [options] command [args] |
|
|
Usage: tool [options] command [args] |
|
|
Commands: |
|
|
Commands: |
|
|
build <config> <target> |
|
|
build <target> |
|
|
Compile orca. |
|
|
Compile orca. |
|
|
Configs: debug, release |
|
|
Targets: debug, release |
|
|
Default: debug |
|
|
|
|
|
Targets: orca, tui |
|
|
|
|
|
Output: build/<target>/orca |
|
|
Output: build/<target>/orca |
|
|
clean |
|
|
clean |
|
|
Removes build/ |
|
|
Removes build/ |
|
@ -23,7 +21,6 @@ Options: |
|
|
You should probably do this if you plan to give the |
|
|
You should probably do this if you plan to give the |
|
|
compiled binary to other people. |
|
|
compiled binary to other people. |
|
|
-s Print statistics about compile time and binary size. |
|
|
-s Print statistics about compile time and binary size. |
|
|
-g or --debug Build with debug configuration (default) |
|
|
|
|
|
-h or --help Print this message and exit. |
|
|
-h or --help Print this message and exit. |
|
|
EOF |
|
|
EOF |
|
|
} |
|
|
} |
|
|