aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 87669f8e3..317e8f577 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1180,6 +1180,10 @@ int main(int arg_count, char const **arg_ptr) {
return 1;
}
+ if (init_filename == "-help") {
+ build_context.show_help = true;
+ }
+
build_context.command = command;
if (!parse_build_flags(args)) {