From 103b0eb94d3378736c9cae96d7462d471b64b0cf Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Thu, 30 Jun 2022 02:19:10 -0500 Subject: [PATCH] Use default values instead of hard-coding --- src/gargoyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gargoyle.c b/src/gargoyle.c index a4a236a..a72c549 100644 --- a/src/gargoyle.c +++ b/src/gargoyle.c @@ -29,7 +29,7 @@ uint8_t gargoyle_digest_argv(uint16_t optc, struct gargoyle_opt *optv, int *argc if(*(arg + 1) == '-') { const char *brand = arg + 2; - opt = gargoyle_find_brand(optc, optv, brand, "no-", 3, flags); + opt = gargoyle_find_brand(optc, optv, brand, NULL, 0, flags); if(!opt) { if(flags & GARGOYLE_FLG_STRCT) {