aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-04 07:24:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-04 07:24:42 +0200
commite8ecd84f24d31957806f67bf701d8bc22724f8c4 (patch)
treee0157b347ed8048a0b37ec9779f464a0f2f11e80 /src
parentmisc (diff)
downloadargparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.gz
argparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.bz2
argparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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;
}