mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
fix: make --watch and --inspect conflicting args (#7610)
This commit is contained in:
parent
333462b9c2
commit
dc6571909b
1 changed files with 2 additions and 0 deletions
|
@ -1380,6 +1380,8 @@ fn watch_arg<'a, 'b>() -> Arg<'a, 'b> {
|
||||||
Arg::with_name("watch")
|
Arg::with_name("watch")
|
||||||
.requires("unstable")
|
.requires("unstable")
|
||||||
.long("watch")
|
.long("watch")
|
||||||
|
.conflicts_with("inspect")
|
||||||
|
.conflicts_with("inspect-brk")
|
||||||
.help("Watch for file changes and restart process automatically")
|
.help("Watch for file changes and restart process automatically")
|
||||||
.long_help(
|
.long_help(
|
||||||
"Watch for file changes and restart process automatically.
|
"Watch for file changes and restart process automatically.
|
||||||
|
|
Loading…
Reference in a new issue