mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
vl.c: Print the actual program name in help output
In help() we do what boils down to:
printf("%s", "qemu");
This seems to be an artifact of be995c2764
("removed unused code"), which removed some ifdef'ery that used to print
a different name depending on CONFIG_SOFTMMU.
Instead print the actual program name, originally from argv[0].
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
7636a470a8
commit
15d37e709f
1 changed files with 1 additions and 1 deletions
2
vl.c
2
vl.c
|
@ -1513,7 +1513,7 @@ static void help(int exitcode)
|
|||
"ctrl-alt toggle mouse and keyboard grab\n"
|
||||
"\n"
|
||||
"When using -nographic, press 'ctrl-a h' to get some help.\n",
|
||||
"qemu",
|
||||
error_get_progname(),
|
||||
options_help);
|
||||
exit(exitcode);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue