mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
Remove unreachable branch in use_long_arg()
This commit is contained in:
parent
7aa2358d6e
commit
3c2f60c9f3
1 changed files with 0 additions and 2 deletions
|
@ -1178,8 +1178,6 @@ impl<'help, 'app> Parser<'help, 'app> {
|
|||
return Ok(ParseResult::FlagSubCommand(sc_name.to_string()));
|
||||
} else if self.is_set(AS::AllowLeadingHyphen) {
|
||||
return Ok(ParseResult::MaybeHyphenValue);
|
||||
} else if self.is_set(AS::ValidNegNumFound) {
|
||||
return Ok(ParseResult::MaybeNegNum);
|
||||
}
|
||||
|
||||
debug!("Parser::parse_long_arg: Didn't match anything");
|
||||
|
|
Loading…
Reference in a new issue