[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 05d1c4ab9980d7434031a1ba770794bc8cb66efe

Ville Skyttä ville.skytta at iki.fi
Sun Feb 15 21:59:23 UTC 2009


The following commit has been merged in the master branch:
commit 05505532350491c6ac9c521399acf32cada6c386
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list