~ubuntu-branches/debian/stretch/grub2/stretch

« back to all changes in this revision

Viewing changes to util/grub-mkimage.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-06-15 12:45:35 UTC
  • mto: (1.14.1 upstream) (17.3.18 experimental)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: james.westby@ubuntu.com-20100615124535-9vfbis4kzv0h5bgy
Tags: upstream-1.98+20100614
ImportĀ upstreamĀ versionĀ 1.98+20100614

Show diffs side-by-side

added added

removed removed

Lines of Context:
1253
1253
                  image_target = &image_targets[i];
1254
1254
              if (!image_target)
1255
1255
                {
1256
 
                  printf ("unknown target %s\n", optarg);
 
1256
                  printf ("unknown target format %s\n", optarg);
1257
1257
                  usage (1);
1258
1258
                }
1259
1259
              break;
1307
1307
            break;
1308
1308
 
1309
1309
          case 'V':
1310
 
            printf ("grub-mkimage (%s) %s\n", PACKAGE_NAME, PACKAGE_VERSION);
 
1310
            printf ("%s (%s) %s\n", program_name, PACKAGE_NAME, PACKAGE_VERSION);
1311
1311
            return 0;
1312
1312
 
1313
1313
          case 'v':
1322
1322
 
1323
1323
  if (!image_target)
1324
1324
    {
1325
 
      printf ("Target not specified.\n");
 
1325
      printf ("Target format not specified (use the -O option).\n");
1326
1326
      usage (1);
1327
1327
    }
1328
1328