25 |
|
|
26 |
static const struct grub_arg_option options[] = |
static const struct grub_arg_option options[] = |
27 |
{ |
{ |
28 |
{"no-apm", 'n', 0, "Don't use APM to halt the computer", 0, 0}, |
{"no-apm", 'n', 0, "do not use APM to halt the computer", 0, 0}, |
29 |
{0, 0, 0, 0, 0, 0} |
{0, 0, 0, 0, 0, 0} |
30 |
}; |
}; |
31 |
|
|
63 |
{ |
{ |
64 |
(void)mod; /* To stop warning. */ |
(void)mod; /* To stop warning. */ |
65 |
grub_register_command ("halt", grub_cmd_halt, GRUB_COMMAND_FLAG_BOTH, |
grub_register_command ("halt", grub_cmd_halt, GRUB_COMMAND_FLAG_BOTH, |
66 |
"halt [OPTIONS...]", |
"halt [-n]", |
67 |
"Halt the system, if possible using APM", options); |
"Halt the system, if possible using APM", options); |
68 |
} |
} |
69 |
|
|