aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-hdt.c
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-21 21:51:22 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-03-21 21:51:22 -0700
commit0cd10cd0b247c30315252a128bdc7bc58c02603d (patch)
treec80462a9be357761ada24b767009e305d7858934 /com32/hdt/hdt-cli-hdt.c
parent28fd82d6689537c497d8b5e01c69e70909a9ba8e (diff)
parentc9638ff9ac818ae744d5d66885f431f5b4e2ba93 (diff)
downloadsyslinux.git-0cd10cd0b247c30315252a128bdc7bc58c02603d.tar.gz
syslinux.git-0cd10cd0b247c30315252a128bdc7bc58c02603d.tar.xz
syslinux.git-0cd10cd0b247c30315252a128bdc7bc58c02603d.zip
Merge commit 'erwan-private/master' into for-erwan
Conflicts: com32/hdt/hdt-cli.c com32/hdt/hdt-cli.h
Diffstat (limited to 'com32/hdt/hdt-cli-hdt.c')
-rw-r--r--com32/hdt/hdt-cli-hdt.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index 41bb30c3..d2544f54 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -189,6 +189,20 @@ void main_show_summary(int argc __unused, char **argv __unused,
main_show_kernel(argc, argv, hardware);
}
+void main_show_hdt(int argc __unused, char **argv __unused,
+ struct s_hardware *hardware __unused)
+{
+ more_printf("HDT\n");
+ more_printf(" Product : %s\n", PRODUCT_NAME);
+ more_printf(" Version : %s\n", VERSION);
+ more_printf(" Author : %s\n", AUTHOR);
+ more_printf(" Contact : %s\n", CONTACT);
+ char *contributors[NB_CONTRIBUTORS] = CONTRIBUTORS;
+ for (int c = 0; c < NB_CONTRIBUTORS; c++) {
+ more_printf(" Contributor : %s\n", contributors[c]);
+ }
+}
+
/* Default hdt mode */
struct cli_callback_descr list_hdt_default_modules[] = {
{
@@ -238,6 +252,11 @@ struct cli_callback_descr list_hdt_show_modules[] = {
.name = CLI_VESA,
.exec = main_show_vesa,
},
+ {
+ .name = CLI_HDT,
+ .exec = main_show_hdt,
+ },
+
};
struct cli_callback_descr list_hdt_set_modules[] = {