Correct argument name

This commit is contained in:
Benjamin Sago 2015-01-24 17:14:25 +00:00
parent 74fd04c1fb
commit f82dc741de

View File

@ -182,7 +182,7 @@ fn view(matches: &getopts::Matches) -> Result<View, Misfire> {
Err(Misfire::Useless("across", true, "long"))
}
else if matches.opt_present("oneline") {
Err(Misfire::Useless("across", true, "long"))
Err(Misfire::Useless("oneline", true, "long"))
}
else {
Ok(View::Details(try!(columns(matches)), matches.opt_present("header")))