The following commit has been merged in the master branch:
commit 07edd33c9a68fc40ddcc363c840e18116bcf7101
Author: Sergey V <[email protected]>
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

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

Reply via email to