From eaa5958b7796131b612a228cf0ec1bfbc2f2229f Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 9 Mar 2018 11:59:50 -0600 Subject: [PATCH] Update completions for read builtin Change short option for `--shell` to `-S` per #4490 and add description for -s/--silent --- share/completions/read.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/completions/read.fish b/share/completions/read.fish index 82ef1bbf6..f8d2e0513 100644 --- a/share/completions/read.fish +++ b/share/completions/read.fish @@ -7,7 +7,8 @@ complete -c read -s U -l universal -d "Make variable scope universal, i.e. share complete -c read -s u -l unexport -d "Do not export variable to subprocess" complete -c read -s m -l mode-name -d "Name to load/save history under" -r -a "read fish" complete -c read -s c -l command -d "Initial contents of read buffwhen reading interactively" -complete -c read -s s -l shell -d "Use syntax highlighting, tab completions and command termination suitable for entering shellscript code" +complete -c read -s S -l shell -d "Use syntax highlighting, tab completions and command termination suitable for entering shellscript code" +complete -c read -s s -l silent -d "Secure mode: mask characters at the command line (suitable for passwords)" complete -c read -s n -l nchars -d "Read the specified number of characters" complete -c read -s a -l array -d "Store the results as an array" complete -c read -s R -l right-prompt -d "Set right-hand prompt command" -x