[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 267fb3205df377393959240b47d11a9b4670dfd4

Ville Skyttä ville.skytta at iki.fi
Tue Oct 5 20:55:39 UTC 2010


The following commit has been merged in the master branch:
commit 267fb3205df377393959240b47d11a9b4670dfd4
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Oct 5 23:55:30 2010 +0300

    Drop unused cword.

diff --git a/completions/sysbench b/completions/sysbench
index 06acdc4..7781791 100644
--- a/completions/sysbench
+++ b/completions/sysbench
@@ -8,8 +8,8 @@ have sysbench &&
 _sysbench()
 {
     COMPREPLY=()
-    local cur prev words cword split=false
-    _get_comp_words_by_ref -n = cur prev words cword
+    local cur prev words split=false
+    _get_comp_words_by_ref -n = cur prev words
 
     # long options need the "=" (whitespace split doesn't work), but we split
     # internally to make processing easier

-- 
bash-completion



More information about the Bash-completion-commits mailing list