summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-09-21 14:01:54 +0200
committerGitHub <noreply@github.com>2020-09-21 14:01:54 +0200
commitdc6571909ba446fc732b2c6a48742eb4b9614513 (patch)
tree5f1a09688d02f8b65ef09d2ff573f2cac669f321
parent333462b9c2ca662a9a26c9de6eeddbd545428a18 (diff)
fix: make --watch and --inspect conflicting args (#7610)
-rw-r--r--cli/flags.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/flags.rs b/cli/flags.rs
index 190ddf53c..4d08b0c77 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.