From 1ec0b79345f05d6cdd84707768e1fd6e66004699 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 15 Nov 2021 22:10:31 +0000 Subject: Allow both `-help` and `--help` if passed as `init_filename` --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 61288f3c4..5371393d1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2541,7 +2541,8 @@ int main(int arg_count, char const **arg_ptr) { return 1; } - if (init_filename == "-help") { + if (init_filename == "-help" || + init_filename == "--help") { build_context.show_help = true; } -- cgit v1.2.3