id = 1240 title = "The help document of qemu-nbd misses an option" state = "closed" created_at = "2022-10-02T16:31:21.498Z" closed_at = "2024-02-13T15:50:27.483Z" labels = ["CLI", "Storage", "workflow::Patch available"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1240" host-os = "Ubuntu 20.04" host-arch = "x86" qemu-version = "version 7.1.50 (v7.1.0-524-gdbc4f48b5a)" guest-os = "n/a" guest-arch = "n/a" description = """The "--help" option of qemu-nbd misses the option "tls-hostname".""" reproduce = """1. For the option "tls-hostname", the following code appears during option parsing and modifies the tlshostname in qemu-nbd.c:760-762. ``` case QEMU_NBD_OPT_TLSHOSTNAME: tlshostname = optarg; break; ```""" additional = """But it does not appear in the document provided by "--help". It may prevent users from using the relevant function."""