diff --git a/cli/src/args.rs b/cli/src/args.rs index 6513d62..d1c2ebb 100644 --- a/cli/src/args.rs +++ b/cli/src/args.rs @@ -126,7 +126,7 @@ pub fn get_args(tagged_filterer: bool) -> Result> { .help(if cfg!(windows) { "Use a different shell, or `none`. Try --shell=powershell, which will become the default in 2.0." } else { - "Use a different shell, or `none`. E.g. --shell=bash" + "Use a different shell, or `none`. Defaults to `sh` (until 2.0, where that will change to `$SHELL`). E.g. --shell=bash" }) .takes_value(true) .long("shell")) diff --git a/cli/tests/snapshots/help__help_unix.snap b/cli/tests/snapshots/help__help_unix.snap index 88ca14f..c79dddb 100644 --- a/cli/tests/snapshots/help__help_unix.snap +++ b/cli/tests/snapshots/help__help_unix.snap @@ -1,5 +1,6 @@ --- source: cli/tests/help.rs +assertion_line: 16 expression: "String::from_utf8(output.stdout).unwrap()" --- @@ -29,7 +30,7 @@ FLAGS: OPTIONS: -d, --debounce Set the timeout between detected change and command execution, defaults to - 100ms + 50ms -e, --exts Comma-separated list of file extensions to watch (e.g. js,css,html) -f, --filter ... Ignore all modifications except those matching the pattern -i, --ignore ... Ignore modifications to paths matching the pattern @@ -38,7 +39,8 @@ OPTIONS: [possible values: do-nothing, queue, restart, signal] -w, --watch ... Watch a specific file or directory --force-poll Force polling mode (interval in milliseconds) - --shell Use a different shell, or `none`. E.g. --shell=bash + --shell Use a different shell, or `none`. Defaults to `sh` (until 2.0, where that + will change to `$SHELL`). E.g. --shell=bash -s, --signal Specify the signal to send when using --on-busy-update=signal [default: SIGTERM]