[Bash-completion-devel] complete: -n: invalid option

Raphaël raphael.droz at gmail.com
Mon Sep 9 16:49:53 UTC 2013


On Fri, Apr 19, 2013 at 05:18:39PM +0200, Raphaël Droz wrote:
> Hi,
> Just found this one today:
> 
> # Here is the line
> $ A=B -n
> 
> # Put the cursor after "B"
> $ A=B -n
> -----^	# here
> 
> # press <tab>
> complete: -n: invalid option
> usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] ... blablabla
> 
> 
> Using;
> bash-completion: 0837ad0 (Tue Feb 5)
> bash 4.3 (alpha)
> 
> 
> Semantic: how could be named a completion attempt happening when the
> cursor is not at EOL ?


still reproducible, and bash 4.3 is now -beta



More information about the Bash-completion-devel mailing list