]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-12-21 Carles Pina i Estany <carles@pina.cat>
authorcarles <carles@pinux>
Mon, 21 Dec 2009 22:06:04 +0000 (22:06 +0000)
committercarles <carles@pinux>
Mon, 21 Dec 2009 22:06:04 +0000 (22:06 +0000)
* commands/acpi.c (options): Fix capitalizations and/or full stops.
(GRUB_MOD_INIT): Likewise.
* commands/boot.c (GRUB_MOD_INIT): Likewise.
* commands/cmp.c (grub_cmd_cmp): Likewise.
* commands/echo.c (options): Likewise.
* commands/efi/loadbios.c (enable_rom_area): Likewise.
(enable_rom_area): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/gptsync.c (GRUB_MOD_INIT): Likewise.
* commands/halt.c (GRUB_MOD_INIT): Improve the help message.
* commands/handler.c (GRUB_MOD_INIT): Likewise.
* commands/hdparm.c (options): Fix capitalizations and/or full stops.
* commands/hexdump.c (options): Likewise.
* commands/i386/cpuid.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/drivemap.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/halt (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
* commands/i386/pc/pxecmd.c (options): Likewise.
* commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise.
* commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise.
* commands/keystatus.c (options): Likewise.
(GRUB_MOD_INIT): Likewise.
* commands/loadenv.c (options): Likewise.
* commands/ls.c (options): Likewise.
* commands/lspci.c (GRUB_MOD_INIT): Likewise.
* commands/memrw.c (GRUB_MOD_INIT): Likewise.
* commands/minicmd.c (GRUB_MOD_INIT): Likewise.
* commands/parttool.c (helpmsg): Likewise.
* commands/probe.c (options): Likewise.
* commands/read.c (GRUB_MOD_INIT): Likewise.
* commands/reboot.c (GRUB_MOD_INIT): Likewise.
* commands/search.c (options): Likewise.
* commands/sleep.c (options): Likewise.
* commands/test.c (GRUB_MOD_INIT): Likewise.
* commands/true.c (GRUB_MOD_INIT): Likewise.
* commands/usbtest.c (GRUB_MOD_INIT): Likewise.
* commands/videotest.c (GRUB_MOD_INIT): Likewise.
* lib/arg.c (help_options): Likewise.

37 files changed:
ChangeLog
Makefile.in
commands/acpi.c
commands/boot.c
commands/cmp.c
commands/echo.c
commands/efi/loadbios.c
commands/gptsync.c
commands/halt.c
commands/handler.c
commands/hdparm.c
commands/hexdump.c
commands/i386/cpuid.c
commands/i386/pc/drivemap.c
commands/i386/pc/halt.c
commands/i386/pc/play.c
commands/i386/pc/pxecmd.c
commands/i386/pc/vbetest.c
commands/ieee1275/suspend.c
commands/keystatus.c
commands/loadenv.c
commands/ls.c
commands/lspci.c
commands/memrw.c
commands/minicmd.c
commands/parttool.c
commands/probe.c
commands/read.c
commands/reboot.c
commands/search.c
commands/sleep.c
commands/test.c
commands/true.c
commands/usbtest.c
commands/videotest.c
lib/arg.c
po/POTFILES

index b2d892804b386f9e7f95d7922a1676436ab65ab1..3d3d224a44cc43657fd7128df975dbbd3d6aaf13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,47 @@
+2009-12-21  Carles Pina i Estany  <carles@pina.cat>
+       * commands/acpi.c (options): Fix capitalizations and/or full stops.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/boot.c (GRUB_MOD_INIT): Likewise.
+       * commands/cmp.c (grub_cmd_cmp): Likewise.
+       * commands/echo.c (options): Likewise.
+       * commands/efi/loadbios.c (enable_rom_area): Likewise.
+       (enable_rom_area): Likewise.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/gptsync.c (GRUB_MOD_INIT): Likewise.
+       * commands/halt.c (GRUB_MOD_INIT): Improve the help message.
+       * commands/handler.c (GRUB_MOD_INIT): Likewise.
+       * commands/hdparm.c (options): Fix capitalizations and/or full stops.
+       * commands/hexdump.c (options): Likewise.
+       * commands/i386/cpuid.c (options): Likewise.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/i386/pc/drivemap.c (options): Likewise.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/i386/pc/halt (options): Likewise.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/i386/pc/play.c (GRUB_MOD_INIT): Likewise.
+       * commands/i386/pc/pxecmd.c (options): Likewise.
+       * commands/i386/pc/vbetest.c (GRUB_MOD_INIT): Likewise.
+       * commands/ieee1275/suspend.c (GRUB_MOD_INIT): Likewise.
+       * commands/keystatus.c (options): Likewise.
+       (GRUB_MOD_INIT): Likewise.
+       * commands/loadenv.c (options): Likewise.
+       * commands/ls.c (options): Likewise.
+       * commands/lspci.c (GRUB_MOD_INIT): Likewise.
+       * commands/memrw.c (GRUB_MOD_INIT): Likewise.
+       * commands/minicmd.c (GRUB_MOD_INIT): Likewise.
+       * commands/parttool.c (helpmsg): Likewise.
+       * commands/probe.c (options): Likewise.
+       * commands/read.c (GRUB_MOD_INIT): Likewise.
+       * commands/reboot.c (GRUB_MOD_INIT): Likewise.
+       * commands/search.c (options): Likewise.
+       * commands/sleep.c (options): Likewise.
+       * commands/test.c (GRUB_MOD_INIT): Likewise.
+       * commands/true.c (GRUB_MOD_INIT): Likewise.
+       * commands/usbtest.c (GRUB_MOD_INIT): Likewise.
+       * commands/videotest.c (GRUB_MOD_INIT): Likewise.
+       * lib/arg.c (help_options): Likewise.
+
 2009-12-21 Felix Zielcke <fzielcke@z-51.de>
 
        * util/grub-mkrescue.in (process_input_dir): Copy `*.lst' files
index e1dd0876ff8d71631767240bf7cce427621e3782..46b380cd5f0de83fb504f045017f94d3ade8cf7e 100644 (file)
@@ -484,8 +484,8 @@ genkernsyms.sh: genkernsyms.sh.in config.status
        $(SHELL) ./config.status
 
 $(srcdir)/po/$(PACKAGE).pot: po/POTFILES po/POTFILES-shell
-       cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f $< --keyword=_ --keyword=N_
-       cd $(srcdir) && $(XGETTEXT) --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
+       cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ -f $< --keyword=_ --keyword=N_
+       cd $(srcdir) && $(XGETTEXT) -ctranslate --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
 
 $(foreach lang, $(LINGUAS), $(srcdir)/po/$(lang).po): po/$(PACKAGE).pot
        $(MSGMERGE) -U $@ $^
index 1a7bf80180d029709c93687f61f6373ded185b7b..c9acf5abe7978efde15696b90a81f3eccc5dd0c4 100644 (file)
 
 static const struct grub_arg_option options[] = {
   {"exclude", 'x', 0,
-   "Don't load host tables specified by comma-separated list",
+   "Don't load host tables specified by comma-separated list.",
    0, ARG_TYPE_STRING},
   {"load-only", 'n', 0,
-   "Load only tables specified by comma-separated list", 0, ARG_TYPE_STRING},
-  {"v1", '1', 0, "Expose v1 tables", 0, ARG_TYPE_NONE},
-  {"v2", '2', 0, "Expose v2 and v3 tables", 0, ARG_TYPE_NONE},
-  {"oemid", 'o', 0, "Set OEMID of RSDP, XSDT and RSDT", 0, ARG_TYPE_STRING},
+   "Load only tables specified by comma-separated list.", 0, ARG_TYPE_STRING},
+  {"v1", '1', 0, "Expose v1 tables.", 0, ARG_TYPE_NONE},
+  {"v2", '2', 0, "Expose v2 and v3 tables.", 0, ARG_TYPE_NONE},
+  {"oemid", 'o', 0, "Set OEMID of RSDP, XSDT and RSDT.", 0, ARG_TYPE_STRING},
   {"oemtable", 't', 0,
-   "Set OEMTABLE ID of RSDP, XSDT and RSDT", 0, ARG_TYPE_STRING},
+   "Set OEMTABLE ID of RSDP, XSDT and RSDT.", 0, ARG_TYPE_STRING},
   {"oemtablerev", 'r', 0,
-   "Set OEMTABLE revision of RSDP, XSDT and RSDT", 0, ARG_TYPE_INT},
+   "Set OEMTABLE revision of RSDP, XSDT and RSDT.", 0, ARG_TYPE_INT},
   {"oemtablecreator", 'c', 0,
-   "Set creator field of RSDP, XSDT and RSDT", 0, ARG_TYPE_STRING},
+   "Set creator field of RSDP, XSDT and RSDT.", 0, ARG_TYPE_STRING},
   {"oemtablecreatorrev", 'd', 0,
-   "Set creator revision of RSDP, XSDT and RSDT", 0, ARG_TYPE_INT},
-  {"no-ebda", 'e', 0, "Don't update EBDA. May fix failures or hangs on some"
-   " BIOSes but makes it ineffective with OS not receiving RSDP from GRUB",
+   "Set creator revision of RSDP, XSDT and RSDT.", 0, ARG_TYPE_INT},
+  {"no-ebda", 'e', 0, "Don't update EBDA. May fix failures or hangs on some."
+   " BIOSes but makes it ineffective with OS not receiving RSDP from GRUB.",
    0, ARG_TYPE_NONE},
   {0, 0, 0, 0, 0, 0}
 };
@@ -763,7 +763,7 @@ GRUB_MOD_INIT(acpi)
                              "--load-only=table1,table2] filename1 "
                              " [filename2] [...]",
                              "Load host acpi tables and tables "
-                             "specified by arguments",
+                             "specified by arguments.",
                              options);
 }
 
index e77b5ceb86a4abd58ee24720f12325e68275a410..fe0453b8a744e0b88815a57927ccf54109751455 100644 (file)
@@ -186,7 +186,7 @@ GRUB_MOD_INIT(boot)
 {
   cmd_boot =
     grub_register_command ("boot", grub_cmd_boot,
-                          0, "boot an operating system");
+                          0, "Boot an operating system.");
 }
 
 GRUB_MOD_FINI(boot)
index 1258b1d63c99ad65efda26764b4538aea2b9991b..8a4b4158b8bf5a1b5dc765cf739ad2c9f729980a 100644 (file)
@@ -40,7 +40,7 @@ grub_cmd_cmp (grub_command_t cmd __attribute__ ((unused)),
   if (argc != 2)
     return grub_error (GRUB_ERR_BAD_ARGUMENT, "two arguments required");
 
-  grub_printf ("Compare `%s' and `%s':\n", args[0],
+  grub_printf ("Compare file `%s' with `%s':\n", args[0],
               args[1]);
 
   file1 = grub_gzfile_open (args[0], 1);
@@ -49,7 +49,7 @@ grub_cmd_cmp (grub_command_t cmd __attribute__ ((unused)),
     goto cleanup;
 
   if (grub_file_size (file1) != grub_file_size (file2))
-    grub_printf ("Differ in size: %llu [%s], %llu [%s]\n",
+    grub_printf ("Files differ in size: %llu [%s], %llu [%s]\n",
                 (unsigned long long) grub_file_size (file1), args[0],
                 (unsigned long long) grub_file_size (file2), args[1]);
   else
@@ -76,7 +76,7 @@ grub_cmd_cmp (grub_command_t cmd __attribute__ ((unused)),
            {
              if (buf1[i] != buf2[i])
                {
-                 grub_printf ("Differ at the offset %llu: 0x%x [%s], 0x%x [%s]\n",
+                 grub_printf ("Files differ at the offset %llu: 0x%x [%s], 0x%x [%s]\n",
                               (unsigned long long) (i + pos), buf1[i], args[0],
                               buf2[i], args[1]);
                  goto cleanup;
index 69aa3be3c1424a5242f745bac31656c4e906224d..c9daf62f1eed73dfd036f595093e8acca39fe21c 100644 (file)
@@ -23,8 +23,8 @@
 
 static const struct grub_arg_option options[] =
   {
-    {0, 'n', 0, "do not output the trailing newline", 0, 0},
-    {0, 'e', 0, "enable interpretation of backslash escapes", 0, 0},
+    {0, 'n', 0, "Do not output the trailing newline.", 0, 0},
+    {0, 'e', 0, "Enable interpretation of backslash escapes.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index 23586b269f22f77ac751d4a47f761ba09c02c0c8..d7ad4269068c06bdee6ceac11a922bb151eb5fab 100644 (file)
@@ -46,7 +46,7 @@ enable_rom_area (void)
   rom_ptr = (grub_uint32_t *) VBIOS_ADDR;
   if (*rom_ptr != BLANK_MEM)
     {
-      grub_printf ("ROM image present.\n");
+      grub_printf ("ROM image is present.\n");
       return 0;
     }
 
@@ -63,7 +63,7 @@ enable_rom_area (void)
   *rom_ptr = 0;
   if (*rom_ptr != 0)
     {
-      grub_printf ("Can\'t enable rom area.\n");
+      grub_printf ("Can\'t enable ROM area.\n");
       return 0;
     }
 
@@ -201,7 +201,7 @@ static grub_command_t cmd_fakebios, cmd_loadbios;
 GRUB_MOD_INIT(loadbios)
 {
   cmd_fakebios = grub_register_command ("fakebios", grub_cmd_fakebios,
-                                       0, "fake bios.");
+                                       0, "Fake bios.");
 
   cmd_loadbios = grub_register_command ("loadbios", grub_cmd_loadbios,
                                        "loadbios BIOS_DUMP [INT10_DUMP]",
index a603746a2e1730b0f8102ae5d65fb646327c2d1f..8315faa5377bf496c61c762662656feecfec217b 100644 (file)
@@ -246,7 +246,7 @@ GRUB_MOD_INIT(gptsync)
                               "of hybrid mbr. Up to 3 partitions are "
                               "allowed. TYPE is an MBR type. "
                               "+ means that partition is active. "
-                              "Only one partition can be active");
+                              "Only one partition can be active.");
 }
 
 GRUB_MOD_FINI(gptsync)
index 8fa8db5be73efcfa88f83f052498f7b2e5ae1825..09431d3cb52176639fd317fa35e055798a15fcdd 100644 (file)
@@ -35,8 +35,8 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(halt)
 {
   cmd = grub_register_command ("halt", grub_cmd_halt,
-                              0, "halts the computer.  This command does not"
-                              " work on all firmware.");
+                              0, "Halts the computer.  This command does not"
+                              " work on all firmware implementations.");
 }
 
 GRUB_MOD_FINI(halt)
index 2070c391cfa9e7a98e67585cb09f92d77495c681..d65a703e4cc37b44684058b62f7ddbae6ef18dd9 100644 (file)
@@ -96,15 +96,15 @@ GRUB_MOD_INIT(handler)
   cmd_handler =
     grub_register_command ("handler", grub_cmd_handler,
                           "handler [class [handler]]",
-                          "List or select a handler");
+                          "List or select a handler.");
   cmd_terminal_input =
     grub_register_command ("terminal_input", grub_cmd_handler,
                           "terminal_input [handler]",
-                          "List or select a handler");
+                          "List or select an input terminal.");
   cmd_terminal_output =
     grub_register_command ("terminal_output", grub_cmd_handler,
                           "terminal_output [handler]",
-                          "List or select a handler");
+                          "List or select an output terminal.");
 }
 
 GRUB_MOD_FINI(handler)
index 389954c45126ea0d0c2712fd329b79b6f420d089..458a447c70e36b0399614924d85fb4da796ba3c0 100644 (file)
 #include <grub/extcmd.h>
 
 static const struct grub_arg_option options[] = {
-  {"apm",             'B', 0, "set Advanced Power Management\n"
-                             "(1=low, ..., 254=high, 255=off)",
+  {"apm",             'B', 0, "Set Advanced Power Management\n"
+                             "(1=low, ..., 254=high, 255=off).",
                              0, ARG_TYPE_INT},
-  {"power",           'C', 0, "check power mode", 0, ARG_TYPE_NONE},
-  {"security-freeze", 'F', 0, "freeze ATA security settings until reset",
+  {"power",           'C', 0, "Check power mode.", 0, ARG_TYPE_NONE},
+  {"security-freeze", 'F', 0, "Freeze ATA security settings until reset.",
                              0, ARG_TYPE_NONE},
-  {"health",          'H', 0, "check SMART health status", 0, ARG_TYPE_NONE},
-  {"aam",             'M', 0, "set Automatic Acoustic Management\n"
-                             "(0=off, 128=quiet, ..., 254=fast)",
+  {"health",          'H', 0, "Check SMART health status.", 0, ARG_TYPE_NONE},
+  {"aam",             'M', 0, "Set Automatic Acoustic Management\n"
+                             "(0=off, 128=quiet, ..., 254=fast).",
                              0, ARG_TYPE_INT},
-  {"standby-timeout", 'S', 0, "set standby timeout\n"
-                             "(0=off, 1=5s, 2=10s, ..., 240=20m, 241=30m, ...)",
+  {"standby-timeout", 'S', 0, "Set standby timeout\n"
+                             "(0=off, 1=5s, 2=10s, ..., 240=20m, 241=30m, ...).",
                              0, ARG_TYPE_INT},
-  {"standby",         'y', 0, "set drive to standby mode", 0, ARG_TYPE_NONE},
-  {"sleep",           'Y', 0, "set drive to sleep mode", 0, ARG_TYPE_NONE},
-  {"identify",        'i', 0, "print drive identity and settings",
+  {"standby",         'y', 0, "Set drive to standby mode.", 0, ARG_TYPE_NONE},
+  {"sleep",           'Y', 0, "Set drive to sleep mode.", 0, ARG_TYPE_NONE},
+  {"identify",        'i', 0, "Print drive identity and settings.",
                              0, ARG_TYPE_NONE},
-  {"dumpid",          'I', 0, "dump contents of ATA IDENTIFY sector",
+  {"dumpid",          'I', 0, "Dump contents of ATA IDENTIFY sector.",
                               0, ARG_TYPE_NONE},
-  {"smart",            -1, 0, "disable/enable SMART (0/1)", 0, ARG_TYPE_INT},
-  {"quiet",           'q', 0, "do not print messages", 0, ARG_TYPE_NONE},
+  {"smart",            -1, 0, "Disable/enable SMART (0/1).", 0, ARG_TYPE_INT},
+  {"quiet",           'q', 0, "Do not print messages.", 0, ARG_TYPE_NONE},
   {0, 0, 0, 0, 0, 0}
 };
 
index 4b3e3ef29ca8ca435d3ff2527eeb171f953dae2d..727deecbf41f03c6a5615be15c4232f4faee9235 100644 (file)
@@ -26,9 +26,9 @@
 #include <grub/extcmd.h>
 
 static const struct grub_arg_option options[] = {
-  {"skip", 's', 0, "skip offset bytes from the beginning of file.", 0,
+  {"skip", 's', 0, "Skip offset bytes from the beginning of file.", 0,
    ARG_TYPE_INT},
-  {"length", 'n', 0, "read only length bytes", 0, ARG_TYPE_INT},
+  {"length", 'n', 0, "Read only LENGTH bytes.", 0, ARG_TYPE_INT},
   {0, 0, 0, 0, 0, 0}
 };
 
index a8bbfe69bb3e87ec301e8785a714af2bcea0fcfb..8097e73729c943aac5c77e3881d60890f0ed0416 100644 (file)
@@ -33,7 +33,7 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"long-mode", 'l', 0, "check for long mode flag (default)", 0, 0},
+    {"long-mode", 'l', 0, "Check for long mode flag (default).", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
@@ -88,7 +88,7 @@ done:
 #endif
 
   cmd = grub_register_extcmd ("cpuid", grub_cmd_cpuid, GRUB_COMMAND_FLAG_BOTH,
-                             "cpuid [-l]", "Check for CPU features", options);
+                             "cpuid [-l]", "Check for CPU features.", options);
 }
 
 GRUB_MOD_FINI(cpuid)
index 52424c3d1a78c534b5bf15dc8eb74835b3124481..991634df0dd2ab1d5a8112cd4ba35422f81067a6 100644 (file)
@@ -33,9 +33,9 @@ static grub_uint32_t *const int13slot = UINT_TO_PTR (4 * 0x13);
 
 /* Remember to update enum opt_idxs accordingly.  */
 static const struct grub_arg_option options[] = {
-  {"list", 'l', 0, "show the current mappings", 0, 0},
-  {"reset", 'r', 0, "reset all mappings to the default values", 0, 0},
-  {"swap", 's', 0, "perform both direct and reverse mappings", 0, 0},
+  {"list", 'l', 0, "Show the current mappings.", 0, 0},
+  {"reset", 'r', 0, "Reset all mappings to the default values.", 0, 0},
+  {"swap", 's', 0, "Perform both direct and reverse mappings.", 0, 0},
   {0, 0, 0, 0, 0, 0}
 };
 
@@ -404,7 +404,7 @@ GRUB_MOD_INIT (drivemap)
                                        GRUB_COMMAND_FLAG_BOTH,
                                        "drivemap"
                                        " -l | -r | [-s] grubdev osdisk",
-                                       "Manage the BIOS drive mappings",
+                                       "Manage the BIOS drive mappings.",
                                        options);
   drivemap_hook =
     grub_loader_register_preboot_hook (&install_int13_handler,
index 344dcecd8577e933b82d2162290b2cf312bccd61..befd588048d1dfd04a4d145d40cc7f4f69f7b235 100644 (file)
@@ -23,7 +23,7 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"no-apm", 'n', 0, "do not use APM to halt the computer", 0, 0},
+    {"no-apm", 'n', 0, "Do not use APM to halt the computer.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
@@ -47,7 +47,7 @@ GRUB_MOD_INIT(halt)
 {
   cmd = grub_register_extcmd ("halt", grub_cmd_halt, GRUB_COMMAND_FLAG_BOTH,
                              "halt [-n]",
-                             "Halt the system, if possible using APM",
+                             "Halt the system, if possible using APM.",
                              options);
 }
 
index 23150ea1f40eb650c0f414cfffd74250ad172a92..6020b825aa5c51c2e203e6a804b9cff7591372a9 100644 (file)
@@ -207,7 +207,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(play)
 {
   cmd = grub_register_command ("play", grub_cmd_play,
-                              "play FILE", "Play a tune");
+                              "play FILE", "Play a tune.");
 }
 
 GRUB_MOD_FINI(play)
index df538704c31e85ef3c577739f82234c91606e6a1..1817898c9c5af1ae0b7fcd12c1ceb4be3c940d58 100644 (file)
@@ -25,9 +25,9 @@
 
 static const struct grub_arg_option options[] =
 {
-    {"info", 'i', 0, "show PXE information.", 0, 0},
-    {"bsize", 'b', 0, "set PXE block size", 0, ARG_TYPE_INT},
-    {"unload", 'u', 0, "unload PXE stack.", 0, 0},
+    {"info", 'i', 0, "Show PXE information.", 0, 0},
+    {"bsize", 'b', 0, "Set PXE block size.", 0, ARG_TYPE_INT},
+    {"unload", 'u', 0, "Unload PXE stack.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index 314320d07ce4d0bce003c77d369f816c7e379063..4050c869eb951a750efb1d7fac56df34ff8a45e8 100644 (file)
@@ -168,7 +168,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(vbetest)
 {
   cmd = grub_register_command ("vbetest", grub_cmd_vbetest,
-                              0, "Test VESA BIOS Extension 2.0+ support");
+                              0, "Test VESA BIOS Extension 2.0+ support.");
 }
 
 GRUB_MOD_FINI(vbetest)
index 028dd3cd89f57086a1047fcb52c7d63ec0a0ae44..fd538f8ea5d39bf14043e92c996f336133b9b3e3 100644 (file)
@@ -39,7 +39,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(ieee1275_suspend)
 {
   cmd = grub_register_command ("suspend", grub_cmd_suspend,
-                              0, "Return to Open Firmware prompt");
+                              0, "Return to Open Firmware prompt.");
 }
 
 GRUB_MOD_FINI(ieee1275_suspend)
index 28ceb2d0bde22caa47e4204b95e7a87f4bc146c4..0a46676459c530dd54f6c742fc3e1a22c2a2753e 100644 (file)
@@ -24,9 +24,9 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"shift", 's', 0, "check Shift key", 0, 0},
-    {"ctrl", 'c', 0, "check Control key", 0, 0},
-    {"alt", 'a', 0, "check Alt key", 0, 0},
+    {"shift", 's', 0, "Check Shift key.", 0, 0},
+    {"ctrl", 'c', 0, "Check Control key.", 0, 0},
+    {"alt", 'a', 0, "Check Alt key.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
@@ -71,7 +71,7 @@ GRUB_MOD_INIT(keystatus)
   cmd = grub_register_extcmd ("keystatus", grub_cmd_keystatus,
                              GRUB_COMMAND_FLAG_BOTH,
                              "keystatus [--shift] [--ctrl] [--alt]",
-                             "Check key modifier status",
+                             "Check key modifier status.",
                              options);
 }
 
index c60eb835c2c2a32800c75af76db0cb68ba346e5f..c10dd0e27c534c04801b424f6110787c66c0ae61 100644 (file)
@@ -29,7 +29,7 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"file", 'f', 0, "specify filename", 0, ARG_TYPE_PATHNAME},
+    {"file", 'f', 0, "Specify filename.", 0, ARG_TYPE_PATHNAME},
     {0, 0, 0, 0, 0, 0}
   };
 
index 15b4c6bab6219a7a49ea3fed2cdfa1a2ae9632b6..6eaa1d59e1fa7f5f18e2093187d78b05892af576 100644 (file)
@@ -33,9 +33,9 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"long", 'l', 0, "show a long list with more detailed information", 0, 0},
-    {"human-readable", 'h', 0, "print sizes in a human readable format", 0, 0},
-    {"all", 'a', 0, "list all files", 0, 0},
+    {"long", 'l', 0, "Show a long list with more detailed information.", 0, 0},
+    {"human-readable", 'h', 0, "Print sizes in a human readable format.", 0, 0},
+    {"all", 'a', 0, "List all files.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index bcaafa4f83fa96ca3fcec194dfafc2535b5e4bab..507355687a073be3d35ae183afe2b74f310afee3 100644 (file)
@@ -160,7 +160,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(lspci)
 {
   cmd = grub_register_command ("lspci", grub_cmd_lspci,
-                              0, "List PCI devices");
+                              0, "List PCI devices.");
 }
 
 GRUB_MOD_FINI(lspci)
index adffb7fc87ce75b223a7dd459e074cec1ae31ad4..f43380f041e66504cf936ea9e8a011675f6c8fc1 100644 (file)
@@ -71,22 +71,22 @@ GRUB_MOD_INIT(memrw)
 {
   cmd_read_byte =
     grub_register_command ("read_byte", grub_cmd_read,
-                          "read_byte ADDR", "read byte.");
+                          "read_byte ADDR", "Read byte from ADDR.");
   cmd_read_word =
     grub_register_command ("read_word", grub_cmd_read,
-                          "read_word ADDR", "read word.");
+                          "read_word ADDR", "Read word from ADDR.");
   cmd_read_dword =
     grub_register_command ("read_dword", grub_cmd_read,
-                          "read_dword ADDR", "read dword.");
+                          "read_dword ADDR", "Read dword from ADDR.");
   cmd_write_byte =
     grub_register_command ("write_byte", grub_cmd_write,
-                          "write_byte ADDR VALUE", "write byte.");
+                          "write_byte ADDR VALUE", "Write byte VALUE to ADDR.");
   cmd_write_word =
     grub_register_command ("write_word", grub_cmd_write,
-                          "write_word ADDR VALUE", "write word.");
+                          "write_word ADDR VALUE", "Write word VALUE to ADDR.");
   cmd_write_dword =
     grub_register_command ("write_dword", grub_cmd_write,
-                          "write_dword ADDR VALUE", "write dword.");
+                          "write_dword ADDR VALUE", "Write dword VALUE to ADDR.");
 }
 
 GRUB_MOD_FINI(memrw)
index 6c9c33a0e5c17d268418de8d61dc07b4b63e62a8..9e06fa5dea4842e83c3c05f007a45b9c1688b626 100644 (file)
@@ -354,28 +354,28 @@ GRUB_MOD_INIT(minicmd)
 {
   cmd_cat =
     grub_register_command ("cat", grub_mini_cmd_cat,
-                          "cat FILE", "show the contents of a file");
+                          "cat FILE", "Show the contents of a file.");
   cmd_help =
     grub_register_command ("help", grub_mini_cmd_help,
-                          0, "show this message");
+                          0, "Show this message.");
   cmd_root =
     grub_register_command ("root", grub_mini_cmd_root,
-                          "root [DEVICE]", "set the root device");
+                          "root [DEVICE]", "Set the root device.");
   cmd_dump =
     grub_register_command ("dump", grub_mini_cmd_dump,
-                          "dump ADDR", "dump memory");
+                          "dump ADDR", "Dump memory.");
   cmd_rmmod =
     grub_register_command ("rmmod", grub_mini_cmd_rmmod,
-                          "rmmod MODULE", "remove a module");
+                          "rmmod MODULE", "Remove a module.");
   cmd_lsmod =
     grub_register_command ("lsmod", grub_mini_cmd_lsmod,
-                          0, "show loaded modules");
+                          0, "Show loaded modules.");
   cmd_exit =
     grub_register_command ("exit", grub_mini_cmd_exit,
-                          0, "exit from GRUB");
+                          0, "Exit from GRUB.");
   cmd_clear =
     grub_register_command ("clear", grub_mini_cmd_clear,
-                          0, "clear the screen");
+                          0, "Clear the screen.");
 }
 
 GRUB_MOD_FINI(minicmd)
index 8c985fc4b172a163a49f157802abe66c35af47cf..473652cec14c6a118e801c7fae49532478945f95 100644 (file)
@@ -34,9 +34,9 @@ static struct grub_parttool *parts = 0;
 static int curhandle = 0;
 static grub_dl_t mymod;
 static char helpmsg[] =
-  "perform COMMANDS on partition.\n"
+  "Perform COMMANDS on partition.\n"
   "Use \"parttool PARTITION help\" for the list "
-  "of available commands";
+  "of available commands.";
 
 int
 grub_parttool_register(const char *part_name,
index fabdb2a4a5a6e4a0731b7332dcf0a23b15eb9c8b..0acbf30f4c226c548a6f34a4e5500e1edbb5e9d9 100644 (file)
 static const struct grub_arg_option options[] = 
   {
     {"set",             's', GRUB_ARG_OPTION_OPTIONAL,
-     "set a variable to return value", "VAR", ARG_TYPE_STRING},
-    {"driver",         'd', 0, "determine driver", 0, 0},
-    {"partmap",                'p', 0, "determine partition map type", 0, 0},
-    {"fs",             'f', 0, "determine filesystem type", 0, 0},
-    {"fs-uuid",                'u', 0, "determine filesystem UUID", 0, 0},
-    {"label",          'l', 0, "determine filesystem label", 0, 0},
+     "Set a variable to return value.", "VAR", ARG_TYPE_STRING},
+    {"driver",         'd', 0, "Determine driver.", 0, 0},
+    {"partmap",                'p', 0, "Determine partition map type.", 0, 0},
+    {"fs",             'f', 0, "Determine filesystem type.", 0, 0},
+    {"fs-uuid",                'u', 0, "Determine filesystem UUID.", 0, 0},
+    {"label",          'l', 0, "Determine filesystem label.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index aa6af37b502f134684913a8c99239d6ecf484cb9..270b7bd77e307cb34a0974820632b21149d8d6e9 100644 (file)
@@ -80,7 +80,7 @@ GRUB_MOD_INIT(read)
 {
   cmd = grub_register_command ("read", grub_cmd_read,
                               "read [ENVVAR]",
-                              "Set variable with user input");
+                              "Set variable with user input.");
 }
 
 GRUB_MOD_FINI(read)
index 86c9e2dd94acf3f9f87733a45cbf88dd5ddb0de7..2add295eff78f63ca30539a707b747ac6fadf89b 100644 (file)
@@ -35,7 +35,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(reboot)
 {
   cmd = grub_register_command ("reboot", grub_cmd_reboot,
-                              0, "Reboot the computer");
+                              0, "Reboot the computer.");
 }
 
 GRUB_MOD_FINI(reboot)
index 0cfd0ebbc732216a057d20b77c9d660689fa3407..2907daa9f7cfc8756f86505433f546bc1ac9e5e6 100644 (file)
 
 static const struct grub_arg_option options[] =
   {
-    {"file",           'f', 0, "search devices by a file", 0, 0},
-    {"label",          'l', 0, "search devices by a filesystem label", 0, 0},
-    {"fs-uuid",                'u', 0, "search devices by a filesystem UUID", 0, 0},
-    {"set",            's', GRUB_ARG_OPTION_OPTIONAL, "set a variable to the first device found", "VAR", ARG_TYPE_STRING},
-    {"no-floppy",      'n', 0, "do not probe any floppy drive", 0, 0},
+    {"file",           'f', 0, "Search devices by a file.", 0, 0},
+    {"label",          'l', 0, "Search devices by a filesystem label.", 0, 0},
+    {"fs-uuid",                'u', 0, "Search devices by a filesystem UUID.", 0, 0},
+    {"set",            's', GRUB_ARG_OPTION_OPTIONAL, "Set a variable to the first device found.", "VAR", ARG_TYPE_STRING},
+    {"no-floppy",      'n', 0, "Do not probe any floppy drive.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
index c9d5333697528d5d588ef409c800ec3286170603..9207b60a78ca609a9a6f4ef7870f197518a17295 100644 (file)
@@ -27,8 +27,8 @@
 
 static const struct grub_arg_option options[] =
   {
-    {"verbose", 'v', 0, "verbose countdown", 0, 0},
-    {"interruptible", 'i', 0, "interruptible with ESC", 0, 0},
+    {"verbose", 'v', 0, "Verbose countdown.", 0, 0},
+    {"interruptible", 'i', 0, "Interruptible with ESC.", 0, 0},
     {0, 0, 0, 0, 0, 0}
   };
 
@@ -106,7 +106,7 @@ GRUB_MOD_INIT(sleep)
 {
   cmd = grub_register_extcmd ("sleep", grub_cmd_sleep, GRUB_COMMAND_FLAG_BOTH,
                              "sleep NUMBER_OF_SECONDS",
-                             "Wait for a specified number of seconds",
+                             "Wait for a specified number of seconds.",
                              options);
 }
 
index 9c813c82047b9c0da876a9bf7e3c0d0e7ee2585c..84b4279eab9857e7aa908cfc53c263fff03c237c 100644 (file)
@@ -420,9 +420,9 @@ static grub_command_t cmd_1, cmd_2;
 GRUB_MOD_INIT(test)
 {
   cmd_1 = grub_register_command ("[", grub_cmd_test,
-                                "[ EXPRESSION ]", "Evaluate an expression");
+                                "[ EXPRESSION ]", "Evaluate an expression.");
   cmd_2 = grub_register_command ("test", grub_cmd_test,
-                                "test EXPRESSION", "Evaluate an expression");
+                                "test EXPRESSION", "Evaluate an expression.");
 }
 
 GRUB_MOD_FINI(test)
index 16ca315797924c8886817583df645d7afe9ad72c..ef9f65889270eba2b2509076a914507ac7d082ff 100644 (file)
@@ -43,10 +43,10 @@ GRUB_MOD_INIT(true)
 {
   cmd_true =
     grub_register_command ("true", grub_cmd_true,
-                          0, "do nothing, successfully");
+                          0, "Do nothing, successfully.");
   cmd_false =
     grub_register_command ("false", grub_cmd_false,
-                          0, "do nothing, unsuccessfully");
+                          0, "Do nothing, unsuccessfully.");
 }
 
 GRUB_MOD_FINI(true)
index 3405c3b4dc0ee50bb67af900653a11eacf38eaf8..df124ca18311e6d12de73697adb1e084a9043057 100644 (file)
@@ -195,7 +195,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(usbtest)
 {
   cmd = grub_register_command ("usb", grub_cmd_usbtest,
-                              0, "Test USB support");
+                              0, "Test USB support.");
 }
 
 GRUB_MOD_FINI(usbtest)
index 6fe4b9bd1e560031bdb0e9c10e2b7e64642bf234..15525524bce334436f7c31e056fa1017f37e7cb7 100644 (file)
@@ -178,7 +178,7 @@ static grub_command_t cmd;
 GRUB_MOD_INIT(videotest)
 {
   cmd = grub_register_command ("videotest", grub_cmd_videotest,
-                              0, "Test video subsystem");
+                              0, "Test video subsystem.");
 }
 
 GRUB_MOD_FINI(videotest)
index 24e9d5b1523b025777be58b2c259a7cbb8978a9b..6da9bb5ddf5fe8d9fc43f93957fccf8b844598f8 100644 (file)
--- a/lib/arg.c
+++ b/lib/arg.c
@@ -30,9 +30,9 @@
 static const struct grub_arg_option help_options[] =
   {
     {"help", SHORT_ARG_HELP, 0,
-     "display this help and exit", 0, ARG_TYPE_NONE},
+     "Display this help and exit.", 0, ARG_TYPE_NONE},
     {"usage", SHORT_ARG_USAGE, 0,
-     "display the usage of this command and exit", 0, ARG_TYPE_NONE},
+     "Display the usage of this command and exit.", 0, ARG_TYPE_NONE},
     {0, 0, 0, 0, 0, 0}
   };
 
index 7b92af44419bfdc9e283f79ccc44cf69a5de0b2a..c214eb968b78307932a85c073c8ba67571df5feb 100644 (file)
@@ -1,4 +1,6 @@
 # List of files which contain translatable strings.
+commands/loadenv.c
+
 util/i386/pc/grub-mkimage.c
 util/i386/pc/grub-setup.c