grub-mkrescue: Recognize -output as an alias of --output.

This helps us to be in line with xorriso -as mkisofs.

Suggested by: Thomas Schmitt
This commit is contained in:
Vladimir Serbinenko 2015-05-07 16:34:34 +02:00
parent e5b4ba8c2b
commit 5fd1cb980a

View file

@ -451,6 +451,12 @@ main (int argc, char *argv[])
int i;
for (i = 1; i < argc; i++)
{
if (strcmp (argv[i], "-output") == 0) {
argp_argv[argp_argc++] = "--output";
i++;
argp_argv[argp_argc++] = argv[i];
continue;
}
switch (args_to_eat (argv[i]))
{
case 2: