diff options
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -691,8 +691,9 @@ int qemu_show_nic_models(const char *arg, const char *const *models) { int i; - if (!arg || strcmp(arg, "?")) + if (!arg || !is_help_option(arg)) { return 0; + } fprintf(stderr, "qemu: Supported NIC models: "); for (i = 0 ; models[i]; i++) |