From: Matthias Clasen Date: Thu, 17 May 2012 04:44:36 +0000 (-0400) Subject: gsettings: add reset-recursively to bash completion X-Git-Tag: 2.33.2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=787f8087836804c903f8271699e576544426e023;p=platform%2Fupstream%2Fglib.git gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 --- diff --git a/gio/gsettings-bash-completion.sh b/gio/gsettings-bash-completion.sh index f695afb..145c6a8 100644 --- a/gio/gsettings-bash-completion.sh +++ b/gio/gsettings-bash-completion.sh @@ -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.$.:/.')" ;;