mirror of
https://github.com/nushell/nushell.git
synced 2024-11-08 17:44:27 +01:00
Clarify --stdin
flag (#7541)
Just change the description of the `--stdin` flag as shown in `nu --help`: "redirect the stdin" -> "redirect standard input to a command (with `-c`) or a script file" The old description was a little too terse and I had to look in the code to see what it was doing.
This commit is contained in:
parent
22c50185b5
commit
440feaf74a
@ -648,7 +648,11 @@ impl Command for Nu {
|
||||
fn signature(&self) -> Signature {
|
||||
let signature = Signature::build("nu")
|
||||
.usage("The nushell language and shell.")
|
||||
.switch("stdin", "redirect the stdin", None)
|
||||
.switch(
|
||||
"stdin",
|
||||
"redirect standard input to a command (with `-c`) or a script file",
|
||||
None,
|
||||
)
|
||||
.switch("login", "start as a login shell", Some('l'))
|
||||
.switch("interactive", "start as an interactive shell", Some('i'))
|
||||
.switch("version", "print the version", Some('v'))
|
||||
|
Loading…
Reference in New Issue
Block a user