From f6603047cb60cbee553c208b3cf4329c20335609 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 9 Dec 2020 09:38:29 +0000 Subject: completion: Drop nonexistent lock and unlock commands from completion Signed-off-by: Philip Withnall --- bin/completion/dconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/completion/dconf b/bin/completion/dconf index 6496397..aaaa1e7 100644 --- a/bin/completion/dconf +++ b/bin/completion/dconf @@ -9,13 +9,13 @@ __dconf() { case "${COMP_CWORD}" in 1) - choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload \ncompile ' + choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile ' ;; 2) case "${COMP_WORDS[1]}" in help) - choices=$'help \nread \nlist \nwrite \nreset \nupdate \nlock \nunlock \nwatch \ndump \nload \ncompile ' + choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile ' ;; list|dump|load) choices="$(dconf _complete / "${COMP_WORDS[2]}")" -- cgit v1.2.1 From cd85cec26645a01c971da5a4fdf5dc6b64a185a9 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 9 Dec 2020 09:48:13 +0000 Subject: completion: Add missing commands to completion list The `list-locks` and `blame` commands were missing in the completion script. Signed-off-by: Philip Withnall --- bin/completion/dconf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/completion/dconf b/bin/completion/dconf index aaaa1e7..be46e2f 100644 --- a/bin/completion/dconf +++ b/bin/completion/dconf @@ -9,15 +9,15 @@ __dconf() { case "${COMP_CWORD}" in 1) - choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile ' + choices=$'help \nread \nlist \nlist-locks \nwrite \nreset \ncompile \nupdate \nwatch \ndump \nload \nblame ' ;; 2) case "${COMP_WORDS[1]}" in help) - choices=$'help \nread \nlist \nwrite \nreset \nupdate \nwatch \ndump \nload \ncompile ' + choices=$'help \nread \nlist \nlist-locks \nwrite \nreset \ncompile \nupdate \nwatch \ndump \nload \nblame ' ;; - list|dump|load) + list|list-locks|dump|load) choices="$(dconf _complete / "${COMP_WORDS[2]}")" ;; read|list|write|lock|unlock|watch|reset) -- cgit v1.2.1