[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-235-g26ae770

Sergey V sftp.mtuci at gmail.com
Mon May 2 10:27:44 UTC 2011


The following commit has been merged in the master branch:
commit 07edd33c9a68fc40ddcc363c840e18116bcf7101
Author: Sergey V <sftp.mtuci at gmail.com>
Date:   Thu Jan 6 05:32:26 2011 +0300

    slackware: sbopkg: fix multiple arguments for '-f'
    
    If '-f' option written several times then used only latest

diff --git a/completions/slackware b/completions/slackware
index f537f5a..f3c48c4 100644
--- a/completions/slackware
+++ b/completions/slackware
@@ -189,6 +189,7 @@ _sbopkg()
     for (( i=${#words[@]}-1; i>0; i-- )); do
         if [[ ${words[i]} == '-f' ]]; then
             config="${words[i+1]}"
+	    break
         fi
     done
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list