mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
docs: Correct default value of read
function in read.rst
This commit is contained in:
parent
d7adf8ef87
commit
3c7b2af442
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ The following options control the interactive mode:
|
|||
Masks characters written to the terminal, replacing them with asterisks. This is useful for reading things like passwords or other sensitive information.
|
||||
|
||||
**-p** or **--prompt** *PROMPT_CMD*
|
||||
Uses the output of the shell command *PROMPT_CMD* as the prompt for the interactive mode. The default prompt command is ``set_color green; echo read; set_color normal; echo "> "``
|
||||
Uses the output of the shell command *PROMPT_CMD* as the prompt for the interactive mode. The default prompt command is ``set_color green; echo -n read; set_color normal; echo -n "> "``
|
||||
|
||||
**-P** or **--prompt-str** *PROMPT_STR*
|
||||
Uses the literal *PROMPT_STR* as the prompt for the interactive mode.
|
||||
|
|
Loading…
Reference in a new issue