[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>
This commit is contained in:
Michael Brown
2014-01-22 13:22:32 +00:00
parent 11ad25933f
commit 43c8c272ae
3 changed files with 4 additions and 4 deletions

View File

@@ -419,7 +419,7 @@ static int vesafb_init ( struct console_configuration *config ) {
/* Select mode */
if ( ( mode_number = vesafb_select_mode ( mode_numbers, config->width,
config->height,
config->bpp ) ) < 0 ) {
config->depth ) ) < 0 ) {
rc = mode_number;
goto err_select_mode;
}