1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

fix: make --watch and --inspect conflicting args (#7610)

This commit is contained in:
Luca Casonato 2020-09-21 14:01:54 +02:00 committed by GitHub
parent 333462b9c2
commit dc6571909b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.