qemu-nbd: Document --tls-creds
PATCH 1/1 qemu-nbd: Document --tls-creds
Commit 145614a1 introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.
---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.
Noticed while writing my other patches for defaulting to newstyle.
--- qemu-nbd.c | 1 + 1 file changed, 1 insertion(+)
qemu-nbd.c +1 -0
@@ -94,6 +94,7 @@ static void usage(const char *name)"General purpose options:\n" " --object type,id=ID,... define an object such as 'secret' for providing\n" " passwords and/or encryption keys\n" +" --tls-creds=ID use id of an earlier --object to provide TLS\n" " -T, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n" " specify tracing options\n" " --fork fork off the server process and exit the parent\n"
Signature · 1 line
2.17.1
Quoted 20 lines · Eric Blake
Commit
145614a1introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.Signed-off-by Eric Blake <[email protected]>---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.Noticed while writing my other patches for defaulting to newstyle.
--- qemu-nbd.c | 1 + 1 file changed, 1 insertion(+)qemu-nbd.c +0
-0
qemu-nbd.c static void usage(const char *name) · line 100
Quoted 7 lines
qemu-nbd.c +1
-0@@ -94,6 +94,7 @@ static void usage(const char *name)"General purpose options:\n" " --object type,id=ID,... define an object such as 'secret' for providing\n" " passwords and/or encryption keys\n" +" --tls-creds=ID use id of an earlier --object to provide TLS\n" " -T, --trace [[enable=]<pattern>][,events=<file>][,file=<file>]\n" " specify tracing options\n" " --fork fork off the server process and exit the parent\n"
Do we have a manpage/texi that needs to update, too?
Quoted 6 lines · John Snow
Quoted 3 lines · Eric Blake
Commit
145614a1introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.
Quoted 6 lines
Quoted 2 lines
Signed-off-by Eric Blake <[email protected]>Reviewed-by John Snow <[email protected]>Do we have a manpage/texi that needs to update, too?
No; commit 145614a1 already covered that in qemu-nbd.texi. It's just the --help output that needs it. I can tweak the commit message to mention that, if it helps.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 5 lines · Eric Blake
Commit
145614a1introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.Signed-off-by Eric Blake <[email protected]>
Quoted 8 lines
---
Sadly, 'git grep -i "qemu.nbd.*tls"' has no hits, making me wonder if our iotests are even covering this.Noticed while writing my other patches for defaulting to newstyle.
--- qemu-nbd.c | 1 + 1 file changed, 1 insertion(+)
Thanks; applied to my NBD queue.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
Quoted 10 lines · Eric Blake
Quoted 8 lines · John Snow
Quoted 5 lines · Eric Blake
Commit
145614a1introduced --tls-creds, but forgot to document it in 'qemu-nbd --help'.Signed-off-by Eric Blake <[email protected]>
Quoted 8 lines
Quoted 3 lines
Reviewed-by John Snow <[email protected]>Do we have a manpage/texi that needs to update, too?
No; commit
145614a1already covered that in qemu-nbd.texi. It's just the --help output that needs it. I can tweak the commit message to mention that, if it helps.
Not worth a re-spin.
--js