]> git.notmuchmail.org Git - notmuch/blobdiff - completion/notmuch-completion.bash
cli/show: make --decrypt take a keyword.
[notmuch] / completion / notmuch-completion.bash
index fb093de89001e43baa92d47748b456d7acbca495..17f3c5ec0d409de7cda94b10afab0955ac9027a6 100644 (file)
@@ -472,7 +472,7 @@ _notmuch_address()
            return
            ;;
        --output)
-           COMPREPLY=( $( compgen -W "sender recipients count" -- "${cur}" ) )
+           COMPREPLY=( $( compgen -W "sender recipients count address" -- "${cur}" ) )
            return
            ;;
        --sort)
@@ -517,10 +517,14 @@ _notmuch_show()
            COMPREPLY=( $( compgen -W "text json sexp mbox raw" -- "${cur}" ) )
            return
            ;;
-       --exclude|--body|--decrypt)
+       --exclude|--body)
            COMPREPLY=( $( compgen -W "true false" -- "${cur}" ) )
            return
            ;;
+        --decrypt)
+           COMPREPLY=( $( compgen -W "true auto false" -- "${cur}" ) )
+           return
+           ;;
     esac
 
     ! $split &&