From dd455120a3d5cadf20931918d733f73abd7219a5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 26 Aug 2013 13:24:35 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/argparser/ArgParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/argparser/ArgParser.java b/src/argparser/ArgParser.java index ddc14ac..7a95c46 100644 --- a/src/argparser/ArgParser.java +++ b/src/argparser/ArgParser.java @@ -1286,8 +1286,8 @@ public class ArgParser final Option option = this.optmap.get(optqueue.get(i)); final String opt = option.standard; final String arg = argqueue.size() > i ? argqueue.get(i) : null; - if (len(argqueue) <= i) - option.trigger(optqueue.get(i), null); + if (argqueue.size() <= i) + ((Argumented)option).trigger(optqueue.get(i), null); i++; if (this.opts.get(opt) == null) this.opts.put(opt, new String[] {}); -- cgit v1.2.3-70-g09d2