Browse Source

[cmdline] Add margin options to the "console" command

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
20a90a40c3
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      src/hci/commands/console_cmd.c

+ 8
- 0
src/hci/commands/console_cmd.c View File

51
 		      struct console_options, config.width, parse_integer ),
51
 		      struct console_options, config.width, parse_integer ),
52
 	OPTION_DESC ( "y", 'y', required_argument,
52
 	OPTION_DESC ( "y", 'y', required_argument,
53
 		      struct console_options, config.height, parse_integer ),
53
 		      struct console_options, config.height, parse_integer ),
54
+	OPTION_DESC ( "left", 'l', required_argument,
55
+		      struct console_options, config.left, parse_integer ),
56
+	OPTION_DESC ( "right", 'r', required_argument,
57
+		      struct console_options, config.right, parse_integer ),
58
+	OPTION_DESC ( "top", 't', required_argument,
59
+		      struct console_options, config.top, parse_integer ),
60
+	OPTION_DESC ( "bottom", 'b', required_argument,
61
+		      struct console_options, config.bottom, parse_integer ),
54
 	OPTION_DESC ( "depth", 'd', required_argument,
62
 	OPTION_DESC ( "depth", 'd', required_argument,
55
 		      struct console_options, config.depth, parse_integer ),
63
 		      struct console_options, config.depth, parse_integer ),
56
 	OPTION_DESC ( "picture", 'p', required_argument,
64
 	OPTION_DESC ( "picture", 'p', required_argument,

Loading…
Cancel
Save