* util/grub-mkimage.c: Make target-related error messages slightly
more helpful; -O talks about "format". Explicitly point to the use of -O if no target is specified. Reported by: Didier Raboud (Debian bug #584415).
This commit is contained in:
parent
795b593a47
commit
9cdfe32f09
2 changed files with 9 additions and 2 deletions
|
@ -1253,7 +1253,7 @@ main (int argc, char *argv[])
|
|||
image_target = &image_targets[i];
|
||||
if (!image_target)
|
||||
{
|
||||
printf ("unknown target %s\n", optarg);
|
||||
printf ("unknown target format %s\n", optarg);
|
||||
usage (1);
|
||||
}
|
||||
break;
|
||||
|
@ -1322,7 +1322,7 @@ main (int argc, char *argv[])
|
|||
|
||||
if (!image_target)
|
||||
{
|
||||
printf ("Target not specified.\n");
|
||||
printf ("Target format not specified (use the -O option).\n");
|
||||
usage (1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue