[dconf] dconf: fix command line completion for "dconf update"



commit 510a3feb84eb54be7aa95ffc15375846a103eeb9
Author: Andrea Stacchiotti <andreastacchiotti gmail com>
Date:   Sun Nov 15 06:48:24 2015 +0100

    dconf: fix command line completion for "dconf update"
    
    Due to a typo, there was no "update" completion option, but a " update" one,
    which required the user to type "\ " to get a completion, instead of "u".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758126

 bin/completion/dconf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/completion/dconf b/bin/completion/dconf
index 37ab477..22353b7 100644
--- a/bin/completion/dconf
+++ b/bin/completion/dconf
@@ -9,13 +9,13 @@ __dconf() {
 
   case "${COMP_CWORD}" in
     1)
-      choices=$'help \nread \nlist \nwrite \nreset\n update \nlock \nunlock \nwatch \ndump \nload '
+      choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload '
       ;;
 
     2)
       case "${COMP_WORDS[1]}" in
         help)
-          choices=$'help \nread \nlist \nwrite \nreset\n update \nlock \nunlock \nwatch \ndump \nload '
+          choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload '
           ;;
         list|dump|load)
           choices="$(dconf _complete / "${COMP_WORDS[2]}")"


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