]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-01-06 Carles Pina i Estany <carles@pina.cat>
authorcarles <carles@pinux>
Wed, 6 Jan 2010 21:36:34 +0000 (21:36 +0000)
committercarles <carles@pinux>
Wed, 6 Jan 2010 21:36:34 +0000 (21:36 +0000)
* commands/search.c (GRUB_MOD_INIT): Use HELP_MESSAGE.
* commands/search_file.c (HELP_MESSAGE): New macro.
* commands/search_label.c (HELP_MESSAGE): Likewise.
* commands/search_uuid.c (HELP_MESSAGE): Likewise.
* po/POTFILES: Add `commands/search_file.c',
`commands/search_label.c', `commands_uuid.c'. Remove duplicate
`commands/search.c'.

ChangeLog
commands/search.c
commands/search_file.c
commands/search_label.c
commands/search_uuid.c
po/POTFILES

index 01483a3bac04dd115852fecc942896b21694fd57..52cb5d4010d472e56de2bcb555bb3e359eb3dc49 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2010-01-06  Carles Pina i Estany  <carles@pina.cat>
+
+       * commands/search.c (GRUB_MOD_INIT): Use HELP_MESSAGE.
+       * commands/search_file.c (HELP_MESSAGE): New macro.
+       * commands/search_label.c (HELP_MESSAGE): Likewise.
+       * commands/search_uuid.c (HELP_MESSAGE): Likewise.
+       * po/POTFILES: Add `commands/search_file.c',
+       `commands/search_label.c', `commands_uuid.c'. Remove duplicate
+       `commands/search.c'.
+
 2010-01-05  Robert Millan  <rmh.grub@aybabtu.com>
 
        * config.rpath: Update from Gnulib.
index 2f0cef8aac5764804ea4d904b75e9428bd4fb48f..ec736de3c47e837f8669a273ebbccdd5322beee3 100644 (file)
@@ -166,9 +166,7 @@ GRUB_MOD_INIT(search_fs_label)
   cmd =
     grub_register_command (COMMAND_NAME, grub_cmd_do_search,
                           N_("NAME [VARIABLE]"),
-                          "Search devices by " SEARCH_TARGET "."
-                          " If VARIABLE is specified, "
-                          "the first device found is set to a variable.");
+                          HELP_MESSAGE);
 }
 
 #ifdef DO_SEARCH_FILE
index 265220001fc463ac3e876b7ab9620583a0c0f935..73ce89ccc3582f51184ee1ad9797b0cffa40bb22 100644 (file)
@@ -2,4 +2,5 @@
 #define FUNC_NAME grub_search_fs_file
 #define COMMAND_NAME "search.file"
 #define SEARCH_TARGET "file"
+#define HELP_MESSAGE N_("Search devices by file. If VARIABLE is specified, the first device found is set to a variable.")
 #include "search.c"
index 0047b0e8cedf5df2459676f3ada12f3e7a1bb3f8..ee9c792be8af0b46ed4147e0e10cee4750299120 100644 (file)
@@ -2,4 +2,5 @@
 #define FUNC_NAME grub_search_label
 #define COMMAND_NAME "search.fs_label"
 #define SEARCH_TARGET "filesystem label"
+#define HELP_MESSAGE N_("Search devices by label. If VARIABLE is specified, the first device found is set to a variable.")
 #include "search.c"
index 9767d65019785c8d5fdc4730b9624b248dcd071a..52f83812cd211374b30ffe88b10b6d3c39b72af7 100644 (file)
@@ -2,4 +2,5 @@
 #define FUNC_NAME grub_search_fs_uuid
 #define COMMAND_NAME "search.fs_uuid"
 #define SEARCH_TARGET "filesystem UUID"
+#define HELP_MESSAGE N_("Search devices by UUID. If VARIABLE is specified, the first device found is set to a variable.")
 #include "search.c"
index cecf8a049b17a4b366f038d0d764414a47d47737..c4ae9d56209f536cfb57849f594ebd86aadf9a93 100644 (file)
@@ -37,7 +37,9 @@ commands/probe.c
 commands/read.c
 commands/reboot.c
 commands/search.c
-commands/search.c
+commands/search_file.c
+commands/search_label.c
+commands/search_uuid.c
 commands/sleep.c
 commands/test.c
 commands/true.c