~ubuntu-branches/ubuntu/trusty/grub2/trusty-updates

« back to all changes in this revision

Viewing changes to grub-core/commands/i386/cpuid.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-09-13 18:02:04 UTC
  • mfrom: (1.17.15 upstream)
  • mto: (17.6.27 experimental)
  • mto: This revision was merged to the branch mainline in revision 145.
  • Revision ID: package-import@ubuntu.com-20120913180204-mojnmocbimlom4im
Tags: upstream-2.00
ImportĀ upstreamĀ versionĀ 2.00

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
static const struct grub_arg_option options[] =
38
38
  {
39
 
    {"long-mode", 'l', 0, N_("Check for long mode flag (default)."), 0, 0},
 
39
    /* TRANSLATORS: "(default)" at the end means that this option is used if
 
40
       no argument is specified.  */
 
41
    {"long-mode", 'l', 0, N_("Check if CPU supports 64-bit (long) mode (default)."), 0, 0},
40
42
    {0, 0, 0, 0, 0, 0}
41
43
  };
42
44
 
50
52
                char **args __attribute__ ((unused)))
51
53
{
52
54
  return grub_cpuid_has_longmode ? GRUB_ERR_NONE
53
 
    : grub_error (GRUB_ERR_TEST_FAILURE, "false");
 
55
    /* TRANSLATORS: it's a standalone boolean value,
 
56
       opposite of "true".  */
 
57
    : grub_error (GRUB_ERR_TEST_FAILURE, N_("false"));
54
58
}
55
59
 
56
60
static grub_extcmd_t cmd;