From 787f8087836804c903f8271699e576544426e023 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 17 May 2012 00:44:36 -0400 Subject: [PATCH] gsettings: add reset-recursively to bash completion https://bugzilla.gnome.org/show_bug.cgi?id=675832 --- gio/gsettings-bash-completion.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.$.:/.')" ;; -- 2.7.4