aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-06-08 00:36:11 +0200
committerDaniel <kingdread@gmx.de>2020-06-08 00:36:11 +0200
commit1fb3d3259d23410f8bf9879f64de880a11e4f876 (patch)
treed793d1249a9a0444cc939f5dccb300ac07e7919c
parentd89b1efccda7c5410fce1a1cf0c1e485bb1e9527 (diff)
downloadraidgrep-1fb3d3259d23410f8bf9879f64de880a11e4f876.tar.gz
raidgrep-1fb3d3259d23410f8bf9879f64de880a11e4f876.tar.bz2
raidgrep-1fb3d3259d23410f8bf9879f64de880a11e4f876.zip
make --repl conflict with --check
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 96a8539..ba834ce 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -84,7 +84,7 @@ pub struct Opt {
short = "c",
long = "check",
value_name = "file",
- conflicts_with = "path"
+ conflicts_with_all = &["path", "repl"],
)]
check: Option<PathBuf>,