else
{
/* Too many arguments. */
- fprintf (stderr, _("Unknown extra argument `%s'.\n"), arg);
+ fprintf (stderr, _("Unknown extra argument `%s'."), arg);
+ fprintf (stderr, "\n");
argp_usage (state);
}
break;
static struct argp argp = {
options, argp_parser, N_("PATH"),
- N_("Transform a sytem filename into GRUB one."),
+ N_("Transform a system filename into GRUB one."),
NULL, NULL, NULL
};
char *relpath;
struct arguments arguments;
- set_program_name (argv[0]);
-
- grub_util_init_nls ();
+ grub_util_host_init (&argc, &argv);
memset (&arguments, 0, sizeof (struct arguments));