The following commit has been merged in the master branch:
commit 05505532350491c6ac9c521399acf32cada6c386
Author: Ville Skyttä <[email protected]>
Date:   Sun Feb 15 23:56:09 2009 +0200

    lspc->lspci, add -L, add/fix -x.

diff --git a/to_review/rdesktop b/to_review/rdesktop
index a3a6394..ba941ee 100644
--- a/to_review/rdesktop
+++ b/to_review/rdesktop
@@ -34,16 +34,17 @@ _rdesktop()
                        return 0
                        ;;
                -r)
+                       # FIXME: should do $nospace for the colon options
                        COMPREPLY=( $( compgen -W 'comport: disk: lptport: \
-                               printer: sound: lspc scard' -- $cur ) )
+                               printer: sound: lspci scard' -- $cur ) )
                        return 0
                        ;;
        esac
 
        if [[ "$cur" == -* ]]; then
-               COMPREPLY=( $( compgen -W '-u -d -s -c -p -n -k -g -f -b -A -B \
-                       -e -E -m -C -D -K -S -T -N -X -a -z -X -P -r -0 -4 -5' \
-                       -- $cur ) )
+               COMPREPLY=( $( compgen -W '-u -d -s -c -p -n -k -g -f -b -L \
+                       -A -B -e -E -m -C -D -K -S -T -N -X -a -z -x -P -r \
+                       -0 -4 -5' -- $cur ) )
        else
                _known_hosts
        fi

-- 
bash-completion

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

Reply via email to