]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[cmdline] Add margin options to the "console" command
authorMichael Brown <mcb30@ipxe.org>
Wed, 22 Jan 2014 14:08:15 +0000 (14:08 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 22 Jan 2014 14:28:51 +0000 (14:28 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/hci/commands/console_cmd.c

index a82fa38fe22c499b447b498c40e14f273d48dec7..957c5aa09e4a84c2b940a2d1dd78e15d8673f725 100644 (file)
@@ -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,