Commit dff5efc8 authored by pbrook's avatar pbrook

Accept --foo as an alias for -foo.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2360 c046a42c-6fe2-441c-8c8c-71466251a162
parent 64423fb2
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment