Skip to content

Commit 3c7b2af

Browse files
shuuji3faho
authored andcommitted
docs: Correct default value of read function in read.rst
1 parent d7adf8e commit 3c7b2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc_src/cmds/read.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The following options control the interactive mode:
5959
Masks characters written to the terminal, replacing them with asterisks. This is useful for reading things like passwords or other sensitive information.
6060

6161
**-p** or **--prompt** *PROMPT_CMD*
62-
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 "> "``
62+
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 "> "``
6363

6464
**-P** or **--prompt-str** *PROMPT_STR*
6565
Uses the literal *PROMPT_STR* as the prompt for the interactive mode.

0 commit comments

Comments
 (0)