tools: fix compiling vwhere with -cc gcc -cstrict (#21347)

This commit is contained in:
Turiiya 2024-04-25 05:41:48 +02:00 committed by GitHub
parent fe9be9632d
commit 9f788de03b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,7 +107,7 @@ fn invalid_option(invalid ParamOption, arg string) {
fn valid_args_quantity_or_show_help(args []string) {
if true in [
args.len < 1,
(args.len < 1),
'-help' in args,
'--help' in args,
args == ['help'],