From dc6571909ba446fc732b2c6a48742eb4b9614513 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 21 Sep 2020 14:01:54 +0200 Subject: [PATCH] fix: make --watch and --inspect conflicting args (#7610) --- cli/flags.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/flags.rs b/cli/flags.rs index 190ddf53ce..4d08b0c774 100644 --- a/cli/flags.rs +++ b/cli/flags.rs @@ -1380,6 +1380,8 @@ fn watch_arg<'a, 'b>() -> Arg<'a, 'b> { Arg::with_name("watch") .requires("unstable") .long("watch") + .conflicts_with("inspect") + .conflicts_with("inspect-brk") .help("Watch for file changes and restart process automatically") .long_help( "Watch for file changes and restart process automatically.