aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-hdt.c
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-19 08:39:08 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-19 08:39:08 -0700
commit8fe215fbe966605735bee43f6c1fa639a96683da (patch)
tree73d3c4438d0dfed2c5659a1df53f5f34f900254b /com32/hdt/hdt-cli-hdt.c
parent29feadbdcfb667e0faca8a6391fe19f3f9a6b327 (diff)
downloadsyslinux.git-8fe215fbe966605735bee43f6c1fa639a96683da.tar.gz
syslinux.git-8fe215fbe966605735bee43f6c1fa639a96683da.tar.xz
syslinux.git-8fe215fbe966605735bee43f6c1fa639a96683da.zip
hdt: Add `show disk' in hdt mode (CLI)
It is now possible to see disks from hdt mode, via the `show disk' command. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/hdt/hdt-cli-hdt.c')
-rw-r--r--com32/hdt/hdt-cli-hdt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index b8c36ba1..82138458 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -285,6 +285,10 @@ struct cli_callback_descr list_hdt_show_modules[] = {
.exec = main_show_cpu,
},
{
+ .name = CLI_DISK,
+ .exec = main_show_disk,
+ },
+ {
.name = CLI_PXE,
.exec = main_show_pxe,
},