[dconf: 2/3] completion: Add missing commands to completion list




commit cd85cec26645a01c971da5a4fdf5dc6b64a185a9
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Dec 9 09:48:13 2020 +0000

    completion: Add missing commands to completion list
    
    The `list-locks` and `blame` commands were missing in the
    completion script.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 bin/completion/dconf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bin/completion/dconf b/bin/completion/dconf
index aaaa1e7b..be46e2f7 100644
--- a/bin/completion/dconf
+++ b/bin/completion/dconf
@@ -9,15 +9,15 @@ __dconf() {
 
   case "${COMP_CWORD}" in
     1)
-      choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile '
+      choices=$'help \nread \nlist \nlist-locks \nwrite \nreset \ncompile \nupdate \nwatch \ndump \nload 
\nblame '
       ;;
 
     2)
       case "${COMP_WORDS[1]}" in
         help)
-          choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile '
+          choices=$'help \nread \nlist \nlist-locks \nwrite \nreset \ncompile \nupdate \nwatch \ndump \nload 
\nblame '
           ;;
-        list|dump|load)
+        list|list-locks|dump|load)
           choices="$(dconf _complete / "${COMP_WORDS[2]}")"
           ;;
         read|list|write|lock|unlock|watch|reset)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]