0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-04 01:44:26 -05:00

fix(docs): --watch arg is stable (#14970)

This commit is contained in:
Geert-Jan Zwiers 2022-06-27 00:28:45 +02:00 committed by David Sherret
parent 86618e9bad
commit 1bd024f546

View file

@ -1986,7 +1986,7 @@ fn compat_arg<'a>() -> Arg<'a> {
fn watch_arg<'a>(takes_files: bool) -> Arg<'a> { fn watch_arg<'a>(takes_files: bool) -> Arg<'a> {
let arg = Arg::new("watch") let arg = Arg::new("watch")
.long("watch") .long("watch")
.help("UNSTABLE: Watch for file changes and restart automatically"); .help("Watch for file changes and restart automatically");
if takes_files { if takes_files {
arg arg
@ -1996,14 +1996,14 @@ fn watch_arg<'a>(takes_files: bool) -> Arg<'a> {
.use_value_delimiter(true) .use_value_delimiter(true)
.require_equals(true) .require_equals(true)
.long_help( .long_help(
"UNSTABLE: Watch for file changes and restart process automatically. "Watch for file changes and restart process automatically.
Local files from entry point module graph are watched by default. Local files from entry point module graph are watched by default.
Additional paths might be watched by passing them as arguments to this flag.", Additional paths might be watched by passing them as arguments to this flag.",
) )
.value_hint(ValueHint::AnyPath) .value_hint(ValueHint::AnyPath)
} else { } else {
arg.long_help( arg.long_help(
"UNSTABLE: Watch for file changes and restart process automatically. \ "Watch for file changes and restart process automatically. \
Only local files from entry point module graph are watched.", Only local files from entry point module graph are watched.",
) )
} }