You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc_src/cmds/read.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ The following options control the interactive mode:
59
59
Masks characters written to the terminal, replacing them with asterisks. This is useful for reading things like passwords or other sensitive information.
60
60
61
61
**-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 "> "``
63
63
64
64
**-P** or **--prompt-str** *PROMPT_STR*
65
65
Uses the literal *PROMPT_STR* as the prompt for the interactive mode.
0 commit comments