diff options
| author | gingerBill <bill@gingerbill.org> | 2021-01-04 08:56:42 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-01-04 08:56:42 +0000 |
| commit | fa0e4c129426de79cfe28ee3e21bb5e851cedbff (patch) | |
| tree | a96924971f4ba6225291e9f0ee64a9986315801e /src/main.cpp | |
| parent | 60fe3c9ec62b278f317ebf851f30b37837e9626f (diff) | |
Add `-no-entry-point` to help
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7b649c264..f05d0406a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1668,6 +1668,12 @@ void print_show_help(String const arg0, String const &command) { print_usage_line(2, "Ignores unknown attributes"); print_usage_line(2, "This can be used with metaprogramming tools"); print_usage_line(0, ""); + + if (command != "test") { + print_usage_line(1, "-no-entry-point"); + print_usage_line(2, "Removes default requirement of an entry point (e.g. main procedure)"); + print_usage_line(0, ""); + } } if (run_or_build) { |