aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPhil H <homan.phil@gmail.com>2022-02-14 22:15:45 -0800
committerPhil H <homan.phil@gmail.com>2022-02-14 22:15:55 -0800
commite6e04fc6c888b9acdb0058f7050a53b0bc7d4465 (patch)
treeec9640359fc11a6658172d7f750c19ee57c13a3d /src/main.cpp
parent2e7157ae9cd0eb38133a750e7f4845661d8751ba (diff)
Add 'odin run -help' info for specifying args
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 27c71c8eb..efb0f584e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1851,6 +1851,7 @@ void print_show_help(String const arg0, String const &command) {
print_usage_line(1, " one must contain the program's entry point, all must be in the same package.");
} else if (command == "run") {
print_usage_line(1, "run same as 'build', but also then runs the newly compiled executable.");
+ print_usage_line(1, " append an empty flag and then the args, '-- <args>', to specify args for the output.");
} else if (command == "check") {
print_usage_line(1, "check parse and type check .odin file(s)");
} else if (command == "test") {