* grub-core/commands/date.c (GRUB_MOD_INIT): Remove non-uniform
"Command for ...". * grub-core/commands/hdparm.c (options): Use "Display" rather than "Check" since we don't check anything. * grub-core/commands/i386/cpuid.c (options): Clarify that long mode is 64-bit one. * grub-core/commands/search_wrap.c (options): Clarify the conditions. * grub-core/disk/geli.c (grub_md_sha256_real): Fix typo. (grub_md_sha512_real): Likewise.
This commit is contained in:
parent
805a8dccc8
commit
8f95d002fe
6 changed files with 35 additions and 16 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
||||||
|
2012-03-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/commands/date.c (GRUB_MOD_INIT): Remove non-uniform
|
||||||
|
"Command for ...".
|
||||||
|
* grub-core/commands/hdparm.c (options): Use "Display" rather than
|
||||||
|
"Check" since we don't check anything.
|
||||||
|
* grub-core/commands/i386/cpuid.c (options): Clarify that long mode
|
||||||
|
is 64-bit one.
|
||||||
|
* grub-core/commands/search_wrap.c (options): Clarify the conditions.
|
||||||
|
* grub-core/disk/geli.c (grub_md_sha256_real): Fix typo.
|
||||||
|
(grub_md_sha512_real): Likewise.
|
||||||
|
|
||||||
2012-03-03 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-03-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/commands/gptsync.c: Fix typographic quoting.
|
* grub-core/commands/gptsync.c: Fix typographic quoting.
|
||||||
|
|
|
@ -139,7 +139,7 @@ GRUB_MOD_INIT(date)
|
||||||
cmd =
|
cmd =
|
||||||
grub_register_command ("date", grub_cmd_date,
|
grub_register_command ("date", grub_cmd_date,
|
||||||
N_("[[year-]month-day] [hour:minute[:second]]"),
|
N_("[[year-]month-day] [hour:minute[:second]]"),
|
||||||
N_("Command to display/set current datetime."));
|
N_("Display/set current datetime."));
|
||||||
}
|
}
|
||||||
|
|
||||||
GRUB_MOD_FINI(date)
|
GRUB_MOD_FINI(date)
|
||||||
|
|
|
@ -33,10 +33,10 @@ static const struct grub_arg_option options[] = {
|
||||||
{"apm", 'B', 0, N_("Set Advanced Power Management\n"
|
{"apm", 'B', 0, N_("Set Advanced Power Management\n"
|
||||||
"(1=low, ..., 254=high, 255=off)."),
|
"(1=low, ..., 254=high, 255=off)."),
|
||||||
0, ARG_TYPE_INT},
|
0, ARG_TYPE_INT},
|
||||||
{"power", 'C', 0, N_("Check power mode."), 0, ARG_TYPE_NONE},
|
{"power", 'C', 0, N_("Display power mode."), 0, ARG_TYPE_NONE},
|
||||||
{"security-freeze", 'F', 0, N_("Freeze ATA security settings until reset."),
|
{"security-freeze", 'F', 0, N_("Freeze ATA security settings until reset."),
|
||||||
0, ARG_TYPE_NONE},
|
0, ARG_TYPE_NONE},
|
||||||
{"health", 'H', 0, N_("Check SMART health status."), 0, ARG_TYPE_NONE},
|
{"health", 'H', 0, N_("Display SMART health status."), 0, ARG_TYPE_NONE},
|
||||||
{"aam", 'M', 0, N_("Set Automatic Acoustic Management\n"
|
{"aam", 'M', 0, N_("Set Automatic Acoustic Management\n"
|
||||||
"(0=off, 128=quiet, ..., 254=fast)."),
|
"(0=off, 128=quiet, ..., 254=fast)."),
|
||||||
0, ARG_TYPE_INT},
|
0, ARG_TYPE_INT},
|
||||||
|
|
|
@ -36,7 +36,9 @@ GRUB_MOD_LICENSE ("GPLv3+");
|
||||||
|
|
||||||
static const struct grub_arg_option options[] =
|
static const struct grub_arg_option options[] =
|
||||||
{
|
{
|
||||||
{"long-mode", 'l', 0, N_("Check for long mode flag (default)."), 0, 0},
|
/* TRANSLATORS: "(default)" at the end means that this option is used if
|
||||||
|
no argument is specified. */
|
||||||
|
{"long-mode", 'l', 0, N_("Check if CPU supports 64-bit (long) mode (default)."), 0, 0},
|
||||||
{0, 0, 0, 0, 0, 0}
|
{0, 0, 0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -43,20 +43,25 @@ static const struct grub_arg_option options[] =
|
||||||
N_("First try the device HINT. If HINT ends in comma, "
|
N_("First try the device HINT. If HINT ends in comma, "
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
||||||
{"hint-ieee1275", 0, GRUB_ARG_OPTION_REPEATABLE,
|
{"hint-ieee1275", 0, GRUB_ARG_OPTION_REPEATABLE,
|
||||||
N_("First try the device HINT if on IEEE1275. If HINT ends in comma, "
|
N_("First try the device HINT if currently running on IEEE1275. "
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
"If HINT ends in comma, also try subpartitions"),
|
||||||
|
N_("HINT"), ARG_TYPE_STRING},
|
||||||
{"hint-bios", 0, GRUB_ARG_OPTION_REPEATABLE,
|
{"hint-bios", 0, GRUB_ARG_OPTION_REPEATABLE,
|
||||||
N_("First try the device HINT if on BIOS. If HINT ends in comma, "
|
N_("First try the device HINT if on currently running BIOS. "
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
"If HINT ends in comma, also try subpartitions"),
|
||||||
|
N_("HINT"), ARG_TYPE_STRING},
|
||||||
{"hint-baremetal", 0, GRUB_ARG_OPTION_REPEATABLE,
|
{"hint-baremetal", 0, GRUB_ARG_OPTION_REPEATABLE,
|
||||||
N_("First try the device HINT. If HINT ends in comma, "
|
N_("First try the device HINT if direct hardware access is suported. "
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
"If HINT ends in comma, also try subpartitions"),
|
||||||
|
N_("HINT"), ARG_TYPE_STRING},
|
||||||
{"hint-efi", 0, GRUB_ARG_OPTION_REPEATABLE,
|
{"hint-efi", 0, GRUB_ARG_OPTION_REPEATABLE,
|
||||||
N_("First try the device HINT if on EFI. If HINT ends in comma, "
|
N_("First try the device HINT if on currently running EFI. "
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
"If HINT ends in comma, also try subpartitions"),
|
||||||
|
N_("HINT"), ARG_TYPE_STRING},
|
||||||
{"hint-arc", 0, GRUB_ARG_OPTION_REPEATABLE,
|
{"hint-arc", 0, GRUB_ARG_OPTION_REPEATABLE,
|
||||||
N_("First try the device HINT if on ARC. If HINT ends in comma, "
|
N_("First try the device HINT if on currently running ARC."
|
||||||
"also try subpartitions"), N_("HINT"), ARG_TYPE_STRING},
|
" If HINT ends in comma, also try subpartitions"),
|
||||||
|
N_("HINT"), ARG_TYPE_STRING},
|
||||||
{0, 0, 0, 0, 0, 0}
|
{0, 0, 0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ grub_md_sha256_real (void)
|
||||||
const gcry_md_spec_t *ret;
|
const gcry_md_spec_t *ret;
|
||||||
ret = grub_crypto_lookup_md_by_name ("sha256");
|
ret = grub_crypto_lookup_md_by_name ("sha256");
|
||||||
if (!ret)
|
if (!ret)
|
||||||
grub_util_error ("%s", _("Coulnd't load sha256"));
|
grub_util_error ("%s", _("Couldn't load sha256"));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ grub_md_sha512_real (void)
|
||||||
const gcry_md_spec_t *ret;
|
const gcry_md_spec_t *ret;
|
||||||
ret = grub_crypto_lookup_md_by_name ("sha512");
|
ret = grub_crypto_lookup_md_by_name ("sha512");
|
||||||
if (!ret)
|
if (!ret)
|
||||||
grub_util_error ("%s", _("Coulnd't load sha512"));
|
grub_util_error ("%s", _("Couldn't load sha512"));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue