diff --git a/src/app/parser.rs b/src/app/parser.rs index 77e4029cad7..cb5725be43e 100644 --- a/src/app/parser.rs +++ b/src/app/parser.rs @@ -1255,6 +1255,10 @@ impl<'a, 'b> Parser<'a, 'b> for v in val.split(delim as u32 as u8) { ret = try!(self.add_single_val_to_arg(arg, v, matcher)); } + // If there was a delimiter used, we're not looking for more values + if val.contains_byte(delim as u32 as u8) { + ret = None; + } } } else { ret = try!(self.add_single_val_to_arg(arg, val, matcher));