projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64423fb
)
Accept --foo as an alias for -foo.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 27 Jan 2007 17:19:39 +0000
(17:19 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 27 Jan 2007 17:19:39 +0000
(17:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2360
c046a42c
-6fe2-441c-8c8c-
71466251a162
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 9c6be0bb750d9b906ac62fca2a50614784326c84..1a8d51c652de3fcefa36bfea308fc1b78544fd82 100644
(file)
--- a/
vl.c
+++ b/
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) {