On 1/13/21 4:48 AM, Stefan Hajnoczi wrote:
QEMU options are single dash with double dash accepted for compatibility but
help and other docs have single dash so these (and below) should be -trace.
(Also a bit less typing for otherwise already way too long command lines.)
Is this documented somewhere?
I was under the impression that '-' is legacy syntax and '--' is the
preferred syntax. There are examples of '--' on the QEMU man page.
Let's reach agreement, document it, and then make the documentation
consistent.
Stefan
My naive impression was that double-dash is the preferred idiom in
linuxdom in general for any multi-character option.
We might hang on to single-dash for backwards compatibility, but I doubt
we want to enshrine that as our preferred way.
Is there a reasoning I am unaware of?