From 1fb3d3259d23410f8bf9879f64de880a11e4f876 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 8 Jun 2020 00:36:11 +0200 Subject: make --repl conflict with --check --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3