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:
parent
e5b4ba8c2b
commit
5fd1cb980a
1 changed files with 6 additions and 0 deletions
|
@ -451,6 +451,12 @@ main (int argc, char *argv[])
|
||||||
int i;
|
int i;
|
||||||
for (i = 1; i < argc; 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]))
|
switch (args_to_eat (argv[i]))
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
|
|
Loading…
Reference in a new issue