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"? :-) Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ------------------------------------------------------------------------------ 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