diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-21 21:09:21 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-21 21:10:07 -0700 |
commit | fe9cf673a23007d97d2cd6e2c96426d776c62aa6 (patch) | |
tree | e63aa851643cb0fd70f5eab1645ec7b0ca8a8b0a /doc_src/read.txt | |
parent | b480c8ce79a581af47d49a6e2b71b08f9421427f (diff) |
Add --right-prompt flag to read
Add a flag to read to allow for setting the right prompt command in
addition to the existing support for setting the prompt command.
Fixes #1698.
Diffstat (limited to 'doc_src/read.txt')
-rw-r--r-- | doc_src/read.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc_src/read.txt b/doc_src/read.txt index 79335a79..33829070 100644 --- a/doc_src/read.txt +++ b/doc_src/read.txt @@ -23,6 +23,8 @@ The following options are available: - `-p PROMPT_CMD` 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 <code>set_color green; echo read; set_color normal; echo "> "</code>. +- `-R RIGHT_PROMPT_CMD` or `--right-prompt=RIGHT_PROMPT_CMD` uses the output of the shell command `RIGHT_PROMPT_CMD` as the right prompt for the interactive mode. There is no default right prompt command. + - `-s` or `--shell` enables syntax highlighting, tab completions and command termination suitable for entering shellscript code in the interactive mode. - `-u` or `--unexport` prevents the variables from being exported to child processes (default behaviour). |