[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 75b232ad3f0e85bbde5c7753f6382fb79d9d2458

Ville Skyttä ville.skytta at iki.fi
Sat Oct 23 11:10:39 UTC 2010


The following commit has been merged in the master branch:
commit 75b232ad3f0e85bbde5c7753f6382fb79d9d2458
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Oct 23 13:32:37 2010 +0300

    Indentation/line wrapping fixes.

diff --git a/completions/rpm b/completions/rpm
index 0dbcd04..ee56af8 100644
--- a/completions/rpm
+++ b/completions/rpm
@@ -118,9 +118,9 @@ _rpm()
                 _filedir
             else
                 # complete on capabilities
-            local IFS=$'\n'
-            COMPREPLY=( $( compgen -W "$( rpm -qa $nodig $nosig \
-                --queryformat='%{providename}\n' )" -- "$cur" ) )
+                local IFS=$'\n'
+                COMPREPLY=( $( compgen -W "$( rpm -qa $nodig $nosig \
+                    --queryformat='%{providename}\n' )" -- "$cur" ) )
             fi
             return 0
             ;;
@@ -131,8 +131,7 @@ _rpm()
                 # complete on capabilities
                 local IFS=$'\n'
                 COMPREPLY=( $( compgen -W "$( rpm -qa $nodig $nosig \
-                        --queryformat='%{requirename}\n' )" \
-                        -- "$cur" ) )
+                        --queryformat='%{requirename}\n' )" -- "$cur" ) )
             fi
             return 0
             ;;
@@ -279,7 +278,8 @@ _rpm()
             ;;
         --import|--dbpath|--root)
             if [[ "$cur" == -* ]]; then
-            COMPREPLY=( $( compgen -W '--import --dbpath --root' -- "$cur" ) )
+                COMPREPLY=( $( compgen -W '--import --dbpath --root' \
+                    -- "$cur" ) )
             else
                 _filedir
             fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list