diff options
author | Michael Brown | 2014-01-22 14:22:32 +0100 |
---|---|---|
committer | Michael Brown | 2014-01-22 15:28:49 +0100 |
commit | 43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5 (patch) | |
tree | 19b53680ffa53765df8b0b178dda630a0565755f /src/hci | |
parent | [vesafb] Allow for an arbitrary margin around the text area (diff) | |
download | ipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.tar.gz ipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.tar.xz ipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.zip |
[cmdline] Rename "console" command's --bpp option to --depth
Rename the "--bpp" option to "--depth", to free up the single-letter
option "-b" for "--bottom" in preparation for adding margin support.
This does not break backwards compatibility with documented features,
since the "console" command has not yet been documented.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci')
-rw-r--r-- | src/hci/commands/console_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hci/commands/console_cmd.c b/src/hci/commands/console_cmd.c index 9bea2790..a82fa38f 100644 --- a/src/hci/commands/console_cmd.c +++ b/src/hci/commands/console_cmd.c @@ -51,8 +51,8 @@ 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 ( "bpp", 'b', required_argument, - struct console_options, config.bpp, parse_integer ), + OPTION_DESC ( "depth", 'd', required_argument, + struct console_options, config.depth, parse_integer ), OPTION_DESC ( "picture", 'p', required_argument, struct console_options, picture, parse_string ), OPTION_DESC ( "keep", 'k', no_argument, |