* 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-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.
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
#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"
#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"
#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"
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