mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(docs): --watch arg is stable (#14970)
This commit is contained in:
parent
8d82ba7299
commit
2d1c48ce17
1 changed files with 3 additions and 3 deletions
|
@ -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.",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue