Wrap the source code at 80 characters. Align the backslashes in "nbdplug_config_help".
Tested with: $ nbdkit nbd --help > [...] > [uri=]<URI> URI of an NBD socket to connect to (if > supported). > socket=<SOCKNAME> The Unix socket to connect to. > hostname=<HOST> The hostname for the TCP socket to connect to. > port=<PORT> TCP/VSOCK port or service name to use (default > 10809). > vsock=<CID> The cid for the VSOCK socket to connect to. > command=<COMMAND> Command to run. > arg=<ARG> Parameters for command. > socket-fd=<FD> Socket file descriptor to connect to. > export=<NAME> Export name to connect to (default ""). > dynamic-export=<BOOL> True to enable export name pass-through. > retry=<N> Retry connection up to N seconds (default 0). > shared=<BOOL> True to share one server connection among all > clients, rather than a connection per client > (default false). > tls=<MODE> How to use TLS; one of 'off', 'on', or > 'require'. > tls-certificates=<DIR> Directory containing files for X.509 > certificates. > tls-verify=<BOOL> True (default for X.509) to validate server. > tls-username=<NAME> Override username presented in X.509 TLS. > tls-psk=<FILE> File containing Pre-Shared Key for TLS. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516 Signed-off-by: Laszlo Ersek <ler...@redhat.com> --- plugins/nbd/nbd.c | 41 +++++++++++--------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/plugins/nbd/nbd.c b/plugins/nbd/nbd.c index 55a7f289ec24..febb985612e8 100644 --- a/plugins/nbd/nbd.c +++ b/plugins/nbd/nbd.c @@ -379,25 +379,30 @@ nbdplug_after_fork (void) return 0; } -#define nbdplug_config_help \ - "[uri=]<URI> URI of an NBD socket to connect to (if supported).\n" \ - "socket=<SOCKNAME> The Unix socket to connect to.\n" \ +#define nbdplug_config_help \ + "[uri=]<URI> URI of an NBD socket to connect to (if\n" \ + " supported).\n" \ + "socket=<SOCKNAME> The Unix socket to connect to.\n" \ "hostname=<HOST> The hostname for the TCP socket to connect to.\n" \ - "port=<PORT> TCP/VSOCK port or service name to use (default 10809).\n" \ - "vsock=<CID> The cid for the VSOCK socket to connect to.\n" \ - "command=<COMMAND> Command to run.\n" \ - "arg=<ARG> Parameters for command.\n" \ - "socket-fd=<FD> Socket file descriptor to connect to.\n" \ - "export=<NAME> Export name to connect to (default \"\").\n" \ - "dynamic-export=<BOOL> True to enable export name pass-through.\n" \ - "retry=<N> Retry connection up to N seconds (default 0).\n" \ - "shared=<BOOL> True to share one server connection among all clients,\n" \ - " rather than a connection per client (default false).\n" \ - "tls=<MODE> How to use TLS; one of 'off', 'on', or 'require'.\n" \ - "tls-certificates=<DIR> Directory containing files for X.509 certificates.\n" \ - "tls-verify=<BOOL> True (default for X.509) to validate server.\n" \ - "tls-username=<NAME> Override username presented in X.509 TLS.\n" \ - "tls-psk=<FILE> File containing Pre-Shared Key for TLS.\n" \ + "port=<PORT> TCP/VSOCK port or service name to use (default\n" \ + " 10809).\n" \ + "vsock=<CID> The cid for the VSOCK socket to connect to.\n" \ + "command=<COMMAND> Command to run.\n" \ + "arg=<ARG> Parameters for command.\n" \ + "socket-fd=<FD> Socket file descriptor to connect to.\n" \ + "export=<NAME> Export name to connect to (default \"\").\n" \ + "dynamic-export=<BOOL> True to enable export name pass-through.\n" \ + "retry=<N> Retry connection up to N seconds (default 0).\n" \ + "shared=<BOOL> True to share one server connection among all\n" \ + " clients, rather than a connection per client\n" \ + " (default false).\n" \ + "tls=<MODE> How to use TLS; one of 'off', 'on', or\n" \ + " 'require'.\n" \ + "tls-certificates=<DIR> Directory containing files for X.509\n" \ + " certificates.\n" \ + "tls-verify=<BOOL> True (default for X.509) to validate server.\n" \ + "tls-username=<NAME> Override username presented in X.509 TLS.\n" \ + "tls-psk=<FILE> File containing Pre-Shared Key for TLS.\n" \ static void nbdplug_dump_plugin (void) _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs