elflink, cli: TAB key now displays labels
authorMatt Fleming <matt.fleming@linux.intel.com>
Tue, 29 Mar 2011 12:06:16 +0000 (13:06 +0100)
committerMatt Fleming <matt.fleming@linux.intel.com>
Tue, 29 Mar 2011 13:27:02 +0000 (14:27 +0100)
commitf8d263e69d65c4257a49bc1a70428e89d492e361
tree7d9c07f73b1c22ec622cc163cef4d07fc2d34195
parent8c576f1fe03e34879921311f46613a35c6530000
elflink, cli: TAB key now displays labels

Now, if the user hits the TAB key at a prompt a list of all labels to
complete the current label typed on the command-line is printed. If
nothing is typed at the command-line all labels are printed.

This feature is available in the asm command-line interface so lets
make it available in the C version.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/ldlinux/cli.c
com32/elflink/ldlinux/readconfig.c
com32/elflink/modules/menu.h