From f82dc741de96f056e85efbd8418e488d47a1f1fd Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Sat, 24 Jan 2015 17:14:25 +0000 Subject: [PATCH] Correct argument name --- src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.rs b/src/options.rs index ae50f85..2c03f53 100644 --- a/src/options.rs +++ b/src/options.rs @@ -182,7 +182,7 @@ fn view(matches: &getopts::Matches) -> Result { 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")))