The following commit has been merged in the master branch:
commit 03463a157fd01413e2d78c96b23b320ba093bf27
Author: Ville Skyttä <[email protected]>
Date:   Fri Nov 25 19:59:08 2011 +0200

    sqlite3: Use _parse_help.

diff --git a/completions/sqlite3 b/completions/sqlite3
index 1207823..e97c2e9 100644
--- a/completions/sqlite3
+++ b/completions/sqlite3
@@ -18,9 +18,7 @@ _sqlite3()
     esac
 
     if [[ "$cur" == -* ]]; then
-        COMPREPLY=( $( compgen -W '-help -init -echo -header -noheader -bail
-            -interactive -batch -column -csv -html -line -list -separator
-            -nullvalue -version' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '$( _parse_help "$1" -help )' -- "$cur" ) )
         return 0
     fi
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits

Reply via email to