On Friday, February 18, 2011 21:00:35 Tomek CEDRO wrote:
> On Sat, Feb 19, 2011 at 1:44 AM, Mike Frysinger <vap...@gentoo.org> wrote:
> > i finally got tired of pounding on the tab key to auto-complete options
> > to commands just to have urjtag respond back with useless stuff.  so i
> > rewrote the readline completion support and now any command can have its
> > options auto-completed by declaring a completion handler.
> > 
> > for example:
> > jtag> help <tab>
> >        - all of the possible commands will be shown
> > jtag> cable <tab>
> >        - all of the possible cables will be shown
> > jtag> initbus <tab>
> >        - all of the possible buses will be shown
> > jtag> instruction <tab>
> >        - all of the registered instructions will be shown
> > etc...
> 
> Hello Mike! Nice work! Does the Tab key also complete "cable",
> "initbus", .. and their parameters - ie. ca<tab> kt<tab> resulting in
> "cable kt-link"? :-)

"ca<tab> kt<tab>" does what you expect.

there isnt support atm for "cable gnice v<tab>" into "cable gnice vid=", but 
it's possible right now for someone to add that to the new cmd_cable_complete.  
i rarely pass options to cable drivers, so i dont have incentive atm to do it.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to