mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 00:18:36 -07:00
Accept --foo as an alias for -foo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2360 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
64423fb206
commit
dff5efc848
1 changed files with 3 additions and 0 deletions
3
vl.c
3
vl.c
|
|
@ -6634,6 +6634,9 @@ int main(int argc, char **argv)
|
|||
const QEMUOption *popt;
|
||||
|
||||
optind++;
|
||||
/* Treat --foo the same as -foo. */
|
||||
if (r[1] == '-')
|
||||
r++;
|
||||
popt = qemu_options;
|
||||
for(;;) {
|
||||
if (!popt->name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue