hdt: Convert syslinux module to use the new framework
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 22 Mar 2009 03:01:30 +0000 (20:01 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 22 Mar 2009 03:01:30 +0000 (20:01 -0700)
commit5e2a1c35475b5feec2afc3f5c2269e6e447a1d9c
tree25e9c6d4930d5e62e77ec70158ab59e9639fdaa3
parent9f91365effab9315033a84402374065d62d13e70
hdt: Convert syslinux module to use the new framework

Impact: Add the concept of default_callback per set of modules

Syslinux only implements a default show command. Previously, this was
triggered by the `show list' command line. It is not really intuitive
and may be confusing (it has another meaning in the DMI module).

There is now the concept of default callback, one that would be
triggered when only `show', `set', ... is entered in the command line.
A common usecase may be that `show' triggers a summary display.

Misc.: small fix in the DMI module.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-dmi.c
com32/hdt/hdt-cli-syslinux.c
com32/hdt/hdt-cli.c
com32/hdt/hdt-cli.h