peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0026-virtiofsd-add-o-source-PATH-to-help-output.patch

1d442b
From: Stefan Hajnoczi <stefanha@redhat.com>
1d442b
Date: Mon, 27 Jan 2020 19:00:55 +0000
1d442b
Subject: [PATCH] virtiofsd: add -o source=PATH to help output
1d442b
MIME-Version: 1.0
1d442b
Content-Type: text/plain; charset=UTF-8
1d442b
Content-Transfer-Encoding: 8bit
1d442b
1d442b
The -o source=PATH option will be used by most command-line invocations.
1d442b
Let's document it!
1d442b
1d442b
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
1d442b
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
1d442b
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
1d442b
(cherry picked from commit 4ff075f72be2f489c8998ae492ec5cdbbbd73e07)
1d442b
---
1d442b
 tools/virtiofsd/passthrough_ll.c | 1 +
1d442b
 1 file changed, 1 insertion(+)
1d442b
1d442b
diff --git a/tools/virtiofsd/passthrough_ll.c b/tools/virtiofsd/passthrough_ll.c
1d442b
index 26ac87013b..fc9b264d56 100644
1d442b
--- a/tools/virtiofsd/passthrough_ll.c
1d442b
+++ b/tools/virtiofsd/passthrough_ll.c
1d442b
@@ -1319,6 +1319,7 @@ int main(int argc, char *argv[])
1d442b
     if (opts.show_help) {
1d442b
         printf("usage: %s [options]\n\n", argv[0]);
1d442b
         fuse_cmdline_help();
1d442b
+        printf("    -o source=PATH             shared directory tree\n");
1d442b
         fuse_lowlevel_help();
1d442b
         ret = 0;
1d442b
         goto err_out1;