Files
OpenCellular/include
Vadim Bendebury 6a324c1de5 Allow console commands abbreviation
The EC console input handling code is being enhanced to accept
abbreviated command names.

If the abbreviation is unique, the appropriate command is used, if the
abbreviation is ambiguous, the command is handled as nonexistent. The
error message is being modified to mention that the command either
does not exist or is ambiguous.

This change also makes it impossible to have command names matching
the beginning of other command names. Two such cases are being fixed
(`ch' renamed to `chan' and `thermal' renamed to 'thermalconf').

BUG=none
TEST=manual
 . program the new EC image. Try entering at the console:
  > h
  Command 'h' either not found or ambiguous.
  Command returned error 1
  > he
  Known commands:
    adc            autofan        battery        ch             charger
  ...
  > help
  Known commands:
    adc            autofan        battery        ch             charger
  ...

Change-Id: Iaa3e91e1504e42daefb02d561e00c39003548197
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
2012-05-14 13:35:03 -07:00
..
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-04-19 11:08:28 -07:00
2012-04-24 09:59:31 -07:00
2012-05-14 13:35:03 -07:00
2011-12-07 19:10:02 +00:00
2012-04-10 14:09:40 -07:00
2012-04-19 13:08:58 -07:00
2012-02-02 20:51:45 +08:00
2012-01-11 11:37:55 -08:00
2012-04-19 13:08:58 -07:00
2011-12-07 19:10:02 +00:00
2012-04-25 14:51:33 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2012-04-06 09:06:53 -07:00
2012-04-25 14:49:49 -07:00
2012-04-19 11:08:28 -07:00
2012-04-24 17:46:54 -07:00
2012-05-14 13:35:03 -07:00
2011-12-07 19:10:02 +00:00
2012-04-24 17:46:54 -07:00