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'.
This commit is contained in:
parent
83507e68bd
commit
40e3a41f85
6 changed files with 17 additions and 4 deletions
10
ChangeLog
10
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>
|
2010-01-05 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* config.rpath: Update from Gnulib.
|
* config.rpath: Update from Gnulib.
|
||||||
|
|
|
@ -166,9 +166,7 @@ GRUB_MOD_INIT(search_fs_label)
|
||||||
cmd =
|
cmd =
|
||||||
grub_register_command (COMMAND_NAME, grub_cmd_do_search,
|
grub_register_command (COMMAND_NAME, grub_cmd_do_search,
|
||||||
N_("NAME [VARIABLE]"),
|
N_("NAME [VARIABLE]"),
|
||||||
"Search devices by " SEARCH_TARGET "."
|
HELP_MESSAGE);
|
||||||
" If VARIABLE is specified, "
|
|
||||||
"the first device found is set to a variable.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DO_SEARCH_FILE
|
#ifdef DO_SEARCH_FILE
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
#define FUNC_NAME grub_search_fs_file
|
#define FUNC_NAME grub_search_fs_file
|
||||||
#define COMMAND_NAME "search.file"
|
#define COMMAND_NAME "search.file"
|
||||||
#define SEARCH_TARGET "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"
|
#include "search.c"
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
#define FUNC_NAME grub_search_label
|
#define FUNC_NAME grub_search_label
|
||||||
#define COMMAND_NAME "search.fs_label"
|
#define COMMAND_NAME "search.fs_label"
|
||||||
#define SEARCH_TARGET "filesystem 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"
|
#include "search.c"
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
#define FUNC_NAME grub_search_fs_uuid
|
#define FUNC_NAME grub_search_fs_uuid
|
||||||
#define COMMAND_NAME "search.fs_uuid"
|
#define COMMAND_NAME "search.fs_uuid"
|
||||||
#define SEARCH_TARGET "filesystem 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"
|
#include "search.c"
|
||||||
|
|
|
@ -37,7 +37,9 @@ commands/probe.c
|
||||||
commands/read.c
|
commands/read.c
|
||||||
commands/reboot.c
|
commands/reboot.c
|
||||||
commands/search.c
|
commands/search.c
|
||||||
commands/search.c
|
commands/search_file.c
|
||||||
|
commands/search_label.c
|
||||||
|
commands/search_uuid.c
|
||||||
commands/sleep.c
|
commands/sleep.c
|
||||||
commands/test.c
|
commands/test.c
|
||||||
commands/true.c
|
commands/true.c
|
||||||
|
|
Loading…
Reference in a new issue