From fa0e4c129426de79cfe28ee3e21bb5e851cedbff Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 4 Jan 2021 08:56:42 +0000 Subject: Add `-no-entry-point` to help --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.cpp') 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) { -- cgit v1.2.3