mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
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:
1 parent
e5b4ba8c2b
commit
5fd1cb980a
1 file changed
+6
@@ -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:
|
||||||
|
|||||||
Reference in new issue
Block a user