cmdline help
authorJagger <robert@swiecki.net>
Sun, 19 Jun 2016 17:21:45 +0000 (19:21 +0200)
committerJagger <robert@swiecki.net>
Sun, 19 Jun 2016 17:21:45 +0000 (19:21 +0200)
cmdline.c

index 61bb7a38c3a5f901d79fb572f1e8d161951239c1..7741920448fde06d599e2c12440736f29fa6ec6c 100644 (file)
--- a/cmdline.c
+++ b/cmdline.c
@@ -376,9 +376,9 @@ bool cmdlineParse(int argc, char *argv[], struct nsjconf_t * nsjconf)
                {{"tmpfsmount", required_argument, NULL, 'T'}, "List of mountpoints to be mounted as RW/tmpfs inside the container. Can be specified multiple times. Supports 'dest' syntax"},
                {{"tmpfs_size", required_argument, NULL, 0x0602}, "Number of bytes to allocate for tmpfsmounts (default: 4194304)"},
                {{"disable_proc", no_argument, NULL, 0x0603}, "Disable mounting /proc in the jail"},
-               {{"cgroup_mem_max", required_argument, NULL, 0x0801}, "Maximum number of bytes to use in the group"},
-               {{"cgroup_mem_mount", required_argument, NULL, 0x0802}, "Location of memory cgroup FS (default: '/sys/fs/cgroup/memory'"},
-               {{"cgroup_mem_parent", required_argument, NULL, 0x0803}, "Which memory cgroup to use as parent (default: 'NSJAIL')"},
+               {{"cgroup_mem_max", required_argument, NULL, 0x0801}, "Maximum number of bytes to use in the group (default: '0' - disabled)"},
+               {{"cgroup_mem_mount", required_argument, NULL, 0x0802}, "Location of memory cgroup FS (default: '/sys/fs/cgroup/memory')"},
+               {{"cgroup_mem_parent", required_argument, NULL, 0x0803}, "Which pre-existing memory cgroup to use as a parent (default: 'NSJAIL')"},
                {{"iface_no_lo", no_argument, NULL, 0x700}, "Don't bring up the 'lo' interface"},
                {{"iface", required_argument, NULL, 'I'}, "Interface which will be cloned (MACVLAN) and put inside the subprocess' namespace as 'vs'"},
                {{"iface_vs_ip", required_argument, NULL, 0x701}, "IP of the 'vs' interface"},