gsettings: add reset-recursively to bash completion
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 May 2012 04:44:36 +0000 (00:44 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 17 May 2012 04:44:36 +0000 (00:44 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=675832

gio/gsettings-bash-completion.sh

index f695afb..145c6a8 100644 (file)
@@ -21,7 +21,7 @@ __gsettings() {
 
   case "$((${COMP_CWORD}-$coffset))" in
     1)
-      choices=$'--schemadir\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys \nlist-children \nlist-recursively \nget \nrange \nset \nreset \nwritable \nmonitor'
+      choices=$'--schemadir\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys \nlist-children \nlist-recursively \nget \nrange \nset \nreset \nreset-recursively \nwritable \nmonitor'
       ;;
 
     2)
@@ -32,9 +32,9 @@ __gsettings() {
          ;;
 
         help)
-          choices=$'list-schemas\nlist-relocatable-schemas\nlist-keys\nlist-children\nlist-recursively\nget\nrange\nset\nreset\nwritable\nmonitor'
+          choices=$'list-schemas\nlist-relocatable-schemas\nlist-keys\nlist-children\nlist-recursively\nget\nrange\nset\nreset\nreset-recursively\nwritable\nmonitor'
           ;;
-        list-keys|list-children|list-recursively)
+        list-keys|list-children|list-recursively|reset-recursively)
           choices="$(gsettings $schemadir list-schemas)"$'\n'"$(gsettings $schemadir list-relocatable-schemas | sed -e 's.$.:/.')"
           ;;