[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-66-ga958ccd

Ville Skyttä ville.skytta at iki.fi
Fri Nov 25 18:03:41 UTC 2011


The following commit has been merged in the master branch:
commit 03463a157fd01413e2d78c96b23b320ba093bf27
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list