aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libargparser/argparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libargparser/argparser.c b/src/libargparser/argparser.c
index 415ae88..39e5750 100644
--- a/src/libargparser/argparser.c
+++ b/src/libargparser/argparser.c
@@ -246,7 +246,7 @@ const char* args_standard_abbreviations(const char* argument, const char** optio
{
if (found == NULL)
found = standards[i];
- else
+ else if (found != standards[i])
return NULL;
}