diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-04 07:24:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-04 07:24:42 +0200 |
commit | e8ecd84f24d31957806f67bf701d8bc22724f8c4 (patch) | |
tree | e0157b347ed8048a0b37ec9779f464a0f2f11e80 /src | |
parent | misc (diff) | |
download | argparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.gz argparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.bz2 argparser-e8ecd84f24d31957806f67bf701d8bc22724f8c4.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libargparser/argparser.c | 2 |
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; } |