ref: 79f242a1b486146c944786b26b8b9a82a18670e2
parent: b1210dd43cd074b68872794b5d3ff4c3f818697c
author: Quentin Rameau <[email protected]>
date: Tue Jul 12 14:13:15 EDT 2016
[arg.h] Fix arg loop when operand isn't an option Break argv parsing loop if string is neither an option (nor an operand) instead of skipping it.
--- a/inc/arg.h
+++ b/inc/arg.h
@@ -37,6 +37,8 @@
#define ARGEND \
}\
+ } else {\
+ break;\
}\
}