main: Hide the hush/simple details inside cli.c
authorSimon Glass <sjg@chromium.org>
Fri, 11 Apr 2014 02:01:34 +0000 (20:01 -0600)
committerTom Rini <trini@ti.com>
Thu, 29 May 2014 21:51:42 +0000 (17:51 -0400)
commitc1bb2cd0b6a3d1b152be3686601234b3a363772b
tree3e9227a68f254ed1439c5091d00563860b0ce207
parent1364a0e48a64a29930a8b22620f420e8f4984cc7
main: Hide the hush/simple details inside cli.c

Move these details from main (which doesn't care which parser is used) to
cli.c where they belong.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cli.c
common/cli_simple.c
common/main.c
include/cli.h