summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-06-29 13:13:23 +0100
committerBen S <ogham@bsago.me>2015-06-29 13:13:23 +0100
commit2bc7fde7150029dda126e7410b521d758809f00d (patch)
tree700ea7cc6610c0c3c33a30abb5c32749bec30564 /src/options.rs
parent6d6e8b78f08b0b261c61e5ea58a22e5d9e6aad39 (diff)
Allow using --across with --long --grid
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs
index b290675..91c7f0f 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -259,7 +259,7 @@ impl View {
use self::Misfire::*;
let long = || {
- if matches.opt_present("across") {
+ if matches.opt_present("across") && !matches.opt_present("grid") {
Err(Useless("across", true, "long"))
}
else if matches.opt_present("oneline") {