diff mbox series

[v1,04/14] tools/virtiofsd: include --socket-group in help

Message ID 20210320133706.21475-5-alex.bennee@linaro.org
State Superseded
Headers show
Series fixes for rc1 (kernel-doc, semihosting, testing) | expand

Commit Message

Alex Bennée March 20, 2021, 1:36 p.m. UTC
I confused myself wandering if this had been merged by looking at the
help output. It seems fuse_opt doesn't automagically add to help
output so lets do it now.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

Reviewed-by: Connor Kuehl <ckuehl@redhat.com>

Updates: f6698f2b03 ("tools/virtiofsd: add support for --socket-group")
Message-Id: <20210318100911.16261-1-alex.bennee@linaro.org>
---
 tools/virtiofsd/fuse_lowlevel.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1

Comments

Stefan Hajnoczi March 22, 2021, 11:46 a.m. UTC | #1
On Sat, Mar 20, 2021 at 01:36:56PM +0000, Alex Bennée wrote:
> I confused myself wandering if this had been merged by looking at the

> help output. It seems fuse_opt doesn't automagically add to help

> output so lets do it now.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

> Reviewed-by: Connor Kuehl <ckuehl@redhat.com>

> Updates: f6698f2b03 ("tools/virtiofsd: add support for --socket-group")

> Message-Id: <20210318100911.16261-1-alex.bennee@linaro.org>

> ---

>  tools/virtiofsd/fuse_lowlevel.c | 1 +

>  1 file changed, 1 insertion(+)


Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
diff mbox series

Patch

diff --git a/tools/virtiofsd/fuse_lowlevel.c b/tools/virtiofsd/fuse_lowlevel.c
index 1aa26c6333..58e32fc963 100644
--- a/tools/virtiofsd/fuse_lowlevel.c
+++ b/tools/virtiofsd/fuse_lowlevel.c
@@ -2450,6 +2450,7 @@  void fuse_lowlevel_help(void)
     printf(
         "    -o allow_root              allow access by root\n"
         "    --socket-path=PATH         path for the vhost-user socket\n"
+        "    --socket-group=GRNAME      name of group for the vhost-user socket\n"
         "    --fd=FDNUM                 fd number of vhost-user socket\n"
         "    --thread-pool-size=NUM     thread pool size limit (default %d)\n",
         THREAD_POOL_SIZE);