Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14466

Re: 'complete' not working as documented

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: 'complete' not working as documented
Date 2018-08-11 11:25 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.4991.1534001118.1292.bug-bash@gnu.org> (permalink)
References <CAK7k5HGfd40Fn7AyAfmYt2zdxA9x=fxs7BBJqg1ddy9eh2M+-Q@mail.gmail.com>

Show all headers | View raw


On 8/11/18 1:14 AM, Hugo Gabriel Eyherabide wrote:

> Bash Version: 4.4
> Patch Level: 18
> Release Status: release
> 
> Description:
> Bash manual says 'complete ... -D ... name' should be correct, whatever
> between -D and name applying to the completion on a command for which
> completion has not been previously defined.

No. In the description, `remaining' means `the options and option arguments
besides -D'.

> and
> 
> $ complete -p aabbname
> 
> shows nothing, indicating that the completion for aabbname has never been
> defined.

Yes. Any additional command name arguments supplied with -D are not used.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: 'complete' not working as documented Chet Ramey <chet.ramey@case.edu> - 2018-08-11 11:25 -0400

csiph-web