So I read Cisco doc, and I see that TAB is really designed to show all possibilities when you type the first few characters of a token. It is not a good choice in between words, although it does something.
VyOS seems to have the opposite problem: although the doc would suggest otherwise, it appears that in VyOS, TAB and ? are treated exactly the same. And VyOS only shows you possibilities for the next token. Neither one of the cases, Cisco, VyOS/Brocade, seem to represent perfection. I have not looked closely at Juniper. And I do not know that VyOS is really the same as Brocade -- maybe just an approximation. Burt On Tue, Jun 27, 2017 at 10:53 AM, Burt Silverman <bur...@gmail.com> wrote: > With all due respect, Yoann, I see 5 possible completions: > > adj nbr > adj <adj-index> > adj <interface> > adj <summary> > adj <Enter> > > Now, I do not remember whether the standard Cisco CLI handles this > gracefully or not with the TAB character, but there is absolutely no doubt > that TAB is not showing all the possible completions. This is not a matter > of showing help, but rather, of showing all possible completions. > > Burt > > On Tue, Jun 27, 2017 at 4:37 AM, Yoann Desmouceaux (ydesmouc) < > ydesm...@cisco.com> wrote: > >> Hello, >> >> TAB completion is not able to display help descriptions, only to find >> sub-commands and complete among them. Since in your case there is only one >> sub-command for "show adj", if you hit TAB it will automatically expand to >> this sub-command. If you want to find out about the usage of a command, you >> still have to use the question mark, e.g. "show adj ?". >> >> Thanks, >> Yoann >> >> From: <vpp-dev-boun...@lists.fd.io> on behalf of "xy...@fiberhome.com" < >> xy...@fiberhome.com> >> Date: Tuesday, 27 June 2017 at 07:44 >> To: vpp-dev <vpp-dev@lists.fd.io> >> Subject: [vpp-dev] Some problems of command completion >> >> Hi , >> >> When I use tab to make command completion .The problem will appear: >> >> Here are the help information for the two commands: >> "show adj nbr [<adj-index>] [<interface>]" >> "show adj [<adj-index>] [<interface>] [summary]" >> >> DBGvpp# show adj nbr >> >> Only the longer one of path will show up. >> How can I make the two help commands display at the time I use 'tab'? >> >> Thanks, >> Xyxue >> >> ------------------------------ >> >> _______________________________________________ >> vpp-dev mailing list >> vpp-dev@lists.fd.io >> https://lists.fd.io/mailman/listinfo/vpp-dev >> > >
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev