The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxcfs/pull/355

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From b40c8afe3e0d9a4a8fa20d4b3a77951e59b03560 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
Date: Thu, 5 Mar 2020 17:49:31 +0100
Subject: [PATCH] lxcfs: fix help output

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
---
 src/lxcfs.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/lxcfs.c b/src/lxcfs.c
index 2032096..1094270 100644
--- a/src/lxcfs.c
+++ b/src/lxcfs.c
@@ -954,17 +954,17 @@ static void usage()
        lxcfs_info("Usage: lxcfs <directory>\n");
        lxcfs_info("lxcfs set up fuse- and cgroup-based virtualizing 
filesystem\n");
        lxcfs_info("Options :");
-       lxcfs_info("-d, --debug                 Run lxcfs with debugging 
enabled");
-       lxcfs_info("--disable-cfs               Disable cpu virtualization via 
cpu shares");
-       lxcfs_info("-f, --foreground            Run lxcfs in the foreground");
-       lxcfs_info("-n, --help                  Print help");
-       lxcfs_info("-l, --enable-loadavg        Enable loadavg virtualization");
-       lxcfs_info("-o                          Options to pass directly 
through fuse");
-       lxcfs_info("-p, --pidfile=FILE          Path to use for storing lxcfs 
pid");
-       lxcfs_info("                            Default pidfile is 
%s/lxcfs.pid", RUNTIME_PATH);
-       lxcfs_info("-u, --disable-swap          Disable swap virtualization");
-       lxcfs_info("-v, --version               Print lxcfs version");
-       lxcfs_info("--enable-pidfd              Use pidfd for process 
tracking");
+       lxcfs_info("  -d, --debug          Run lxcfs with debugging enabled");
+       lxcfs_info("  --disable-cfs        Disable cpu virtualization via cpu 
shares");
+       lxcfs_info("  -f, --foreground     Run lxcfs in the foreground");
+       lxcfs_info("  -n, --help           Print help");
+       lxcfs_info("  -l, --enable-loadavg Enable loadavg virtualization");
+       lxcfs_info("  -o                   Options to pass directly through 
fuse");
+       lxcfs_info("  -p, --pidfile=FILE   Path to use for storing lxcfs pid");
+       lxcfs_info("                       Default pidfile is %s/lxcfs.pid", 
RUNTIME_PATH);
+       lxcfs_info("  -u, --disable-swap   Disable swap virtualization");
+       lxcfs_info("  -v, --version        Print lxcfs version");
+       lxcfs_info("  --enable-pidfd       Use pidfd for process tracking");
        exit(EXIT_FAILURE);
 }
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to