]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkimage.c: Make target-related error messages slightly
authorColin Watson <cjwatson@ubuntu.com>
Fri, 4 Jun 2010 12:38:10 +0000 (13:38 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Fri, 4 Jun 2010 12:38:10 +0000 (13:38 +0100)
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).

ChangeLog
util/grub-mkimage.c

index d67e7efa4f6500cc8edc446f737169cf6825d215..fd2f8ae724f3c85d4bd6fdfb88699e0b96dab5d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-04  Colin Watson  <cjwatson@ubuntu.com>
+
+       * 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).
+
 2010-06-03  Colin Watson  <cjwatson@ubuntu.com>
 
        * INSTALL: Document several build requirements for optional features
index 6366a98036d13ee361a394688b1ffdb4a2e64ce5..4e39450dfa17a9c3ebaa684591ead382fd3ed0bf 100644 (file)
@@ -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);
     }