summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2014-01-22 15:08:15 +0100
committerMichael Brown2014-01-22 15:28:51 +0100
commit20a90a40c3b04857d9691cf60528ac06446d8740 (patch)
treec9564038f020bea8164352c70e1b8c06ea88fbd7
parent[cmdline] Rename "console" command's --bpp option to --depth (diff)
downloadipxe-20a90a40c3b04857d9691cf60528ac06446d8740.tar.gz
ipxe-20a90a40c3b04857d9691cf60528ac06446d8740.tar.xz
ipxe-20a90a40c3b04857d9691cf60528ac06446d8740.zip
[cmdline] Add margin options to the "console" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/hci/commands/console_cmd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hci/commands/console_cmd.c b/src/hci/commands/console_cmd.c
index a82fa38f..957c5aa0 100644
--- a/src/hci/commands/console_cmd.c
+++ b/src/hci/commands/console_cmd.c
@@ -51,6 +51,14 @@ static struct option_descriptor console_opts[] = {
struct console_options, config.width, parse_integer ),
OPTION_DESC ( "y", 'y', required_argument,
struct console_options, config.height, parse_integer ),
+ OPTION_DESC ( "left", 'l', required_argument,
+ struct console_options, config.left, parse_integer ),
+ OPTION_DESC ( "right", 'r', required_argument,
+ struct console_options, config.right, parse_integer ),
+ OPTION_DESC ( "top", 't', required_argument,
+ struct console_options, config.top, parse_integer ),
+ OPTION_DESC ( "bottom", 'b', required_argument,
+ struct console_options, config.bottom, parse_integer ),
OPTION_DESC ( "depth", 'd', required_argument,
struct console_options, config.depth, parse_integer ),
OPTION_DESC ( "picture", 'p', required_argument,