diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-27 17:19:39 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-27 17:19:39 +0000 |
commit | dff5efc848f5fe3fd8a9a67129a5234fe46ec3bb (patch) | |
tree | 509e089013657cf1dc41766a55128958220d1980 /vl.c | |
parent | 64423fb206a9278d65b9f5601d0202bd9b5e6d84 (diff) | |
download | qemu-dff5efc848f5fe3fd8a9a67129a5234fe46ec3bb.zip |
Accept --foo as an alias for -foo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2360 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) { |