about summary refs log tree commit diff
path: root/Completion/Unix/Command/_gsettings
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_gsettings')
-rw-r--r--Completion/Unix/Command/_gsettings5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_gsettings b/Completion/Unix/Command/_gsettings
index 890b56403..2724be0ea 100644
--- a/Completion/Unix/Command/_gsettings
+++ b/Completion/Unix/Command/_gsettings
@@ -3,7 +3,7 @@
 local curcontext="$curcontext" state line expl ret=1
 local subcmds
 
-_arguments \
+_arguments -A "-*" \
   '(- 1 *)--version[show version information]' \
   '--schemadir[specify location of schemata]:directory:_directories' \
   ':command:->subcmds' \
@@ -20,6 +20,9 @@ if [[ $state = subargs ]]; then
       _arguments ':schema:->schemata' ':key:->keys' ':value'
     ;;
     (list|reset)-(keys|recursively|children)) state=schemata ;;
+    list-schemas)
+      _arguments '--print-paths'
+    ;;
     *) _default && ret=0 ;;
   esac
 fi