aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2022-02-15 15:46:27 +0000
committerGitHub <noreply@github.com>2022-02-15 15:46:27 +0000
commita23ee1edc16dc447b9e342ba56b5871e0424082e (patch)
treeea2e7e3be78dde95d92fe826041165767140bfe1 /src/main.cpp
parent9dcb5c075afe984c4ad4596ea283b473bb7727a7 (diff)
parente6e04fc6c888b9acdb0058f7050a53b0bc7d4465 (diff)
Merge pull request #1500 from thePHTest/master
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") {