sim-card
/
qemu
Archived
10
0
Fork 0

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:
pbrook 2007-01-27 17:19:39 +00:00
parent 64423fb206
commit dff5efc848
1 changed files with 3 additions and 0 deletions

3
vl.c
View File

@ -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) {