Here is the patch in the git format-patch, so that everyone can test it.

2015-07-25 16:59 GMT+02:00 Andrea Dari <andreadar...@gmail.com>:

> Hi,
>
> I made a pull request in the bash-completion project on github, I forgot
> to add the long option --version but i can't edit my pull request.
>
> https://github.com/GArik/bash-completion/pull/4
>
>
>
From 0670baa07f19ee44945c1575d0c934c92fb9b20d Mon Sep 17 00:00:00 2001
From: Andrea Dari <andreadar...@gmail.com>
Date: Sat, 25 Jul 2015 18:58:05 +0200
Subject: [PATCH] dpkg -V option added

---
 completions/dpkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/completions/dpkg b/completions/dpkg
index 5ada562..45a0bd9 100644
--- a/completions/dpkg
+++ b/completions/dpkg
@@ -70,7 +70,7 @@ _dpkg()
             _filedir
             return 0
             ;;
-        -r|--remove)
+        -r|-V|--remove|--verify)
             COMPREPLY=( $( _comp_dpkg_installed_packages "$cur" ) )
             return 0
             ;;
-- 
2.1.4

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to