[glib] completion: Complete gsettings describe
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] completion: Complete gsettings describe
- Date: Wed, 5 Oct 2016 18:26:53 +0000 (UTC)
commit e048d31210e62a610540d154eef0cb07568d3082
Author: Florian Müllner <fmuellner gnome org>
Date: Sat Oct 1 18:27:19 2016 +0200
completion: Complete gsettings describe
Commit 8fd72838 added a 'describe' command to the gsettings tool,
but didn't implement completions for it.
https://bugzilla.gnome.org/show_bug.cgi?id=772297
gio/completion/gsettings | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/completion/gsettings b/gio/completion/gsettings
index 21f5c6d..0316e29 100644
--- a/gio/completion/gsettings
+++ b/gio/completion/gsettings
@@ -21,7 +21,7 @@ __gsettings() {
case "$((${COMP_CWORD}-$coffset))" in
1)
- choices=$'--schemadir\n--version\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys
\nlist-children \nlist-recursively \nget \nrange \nset \nreset \nreset-recursively \nwritable \nmonitor'
+ choices=$'--schemadir\n--version\nhelp \nlist-schemas\nlist-relocatable-schemas\nlist-keys
\nlist-children \nlist-recursively \nget \nrange \nset \nreset \nreset-recursively \nwritable \nmonitor
\ndescribe '
;;
2)
@@ -38,7 +38,7 @@ __gsettings() {
choices="$(gsettings $schemadir list-schemas)"$'\n'"$(gsettings $schemadir
list-relocatable-schemas | sed -e 's.$.:/.')"
;;
- get|range|set|reset|writable|monitor)
+ get|range|set|reset|writable|monitor|describe)
choices="$(gsettings $schemadir list-schemas | sed -e 's.$. .')"$'\n'"$(gsettings $schemadir
list-relocatable-schemas | sed -e 's.$.:/.')"
;;
esac
@@ -50,7 +50,7 @@ __gsettings() {
choices="$(gsettings $schemadir list-keys ${COMP_WORDS[$(($coffset+2))]} 2> /dev/null | sed -e
's.$. .')"
;;
- get|range|reset|writable|monitor)
+ get|range|reset|writable|monitor|describe)
choices="$(gsettings $schemadir list-keys ${COMP_WORDS[$(($coffset+2))]} 2> /dev/null)"
;;
esac
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]