From 3c7b2af442319358f992207721bc5e57c7381af4 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sun, 3 Mar 2024 18:03:43 +0900 Subject: [PATCH] docs: Correct default value of `read` function in `read.rst` --- doc_src/cmds/read.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/read.rst b/doc_src/cmds/read.rst index 3b97cf8d0..bb9a5fcad 100644 --- a/doc_src/cmds/read.rst +++ b/doc_src/cmds/read.rst @@ -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.