qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] trace: document how to specify multiple --trace patterns


From: John Snow
Subject: Re: [PATCH 1/2] trace: document how to specify multiple --trace patterns
Date: Wed, 13 Jan 2021 16:42:42 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]