On 08/11/2022 09.52, Claudio Fontana wrote:
On 11/8/22 09:42, Thomas Huth wrote:
On 07/11/2022 13.27, Claudio Fontana wrote:
should -net and -netdev be adapted too?
"-netdev help" already works just fine ... and "-net" should IMHO rather be
removed than improved ;-)
Thomas
I wonder if it could be done once for all, in net_init_clients,
instead of repeating the is_help_option in net_init_netdev and net_param_nic
(and that would take care of net_init_client too, so we'd get "net" for free)..
I don't think that it makes too much sense to have one option for all -
since all three CLI options are slightly different anyway. E.g. "-net nic"
only exists for "-net", "hubport" cannot be used with "-net", "-nic" can
also be used to configure the NIC model, etc.
Thomas