summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/argv/argv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/argv/argv.h b/src/internal/argv/argv.h
index d76597a..5f8b4f1 100644
--- a/src/internal/argv/argv.h
+++ b/src/internal/argv/argv.h
@@ -393,7 +393,7 @@ static void argv_scan(
/* ARGV_OPTARG_OPTIONAL */
if (!val[0] && !*parg)
fval = false;
- if (*parg && is_short_option(*parg))
+ else if (*parg && is_short_option(*parg))
fval = false;
else if (*parg && is_long_option(*parg))
fval = false;