Use default values instead of hard-coding

This commit is contained in:
Nick Chambers 2022-06-30 02:19:10 -05:00
parent 3f0cef9b5c
commit 103b0eb94d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {