[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] bash_completion: improvement, fixes and tests [was: Re: subversion and programmable completion]

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-07-25 20:30:16 CEST

Julian Foad <julianfoad@btopenworld.com> writes:

>>>I liked that particular completion, and it was valid.
>> If you can make it work I will reinstate it.
[...]
> Index: tools/client-side/bash_completion
> ===================================================================
> --- tools/client-side/bash_completion (revision 6580)
> +++ tools/client-side/bash_completion (working copy)
> @@ -22,7 +22,7 @@
> stat st switch sw update up --version'
>
> if [[ $COMP_CWORD -eq 1 ]] ; then
> - COMPREPLY=( $( compgen -W "$cmds" -- $cur ) )
> + COMPREPLY=( $( compgen -W "$cmds --help -h" -- $cur ) )
> return 0
> fi

Does this work? The reason I removed it originally is that if I type
"svn --help " and then try completion I get filename completion rather
than a list of svn commands. I tried a few things at the time but
nothing really worked properly.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 25 20:31:23 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.