]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
cgset: more verbose -h output
authorIvana Hutarova Varekova <varekova@redhat.com>
Wed, 18 Jul 2012 19:03:04 +0000 (21:03 +0200)
committerIvana Hutarova Varekova <varekova@redhat.com>
Wed, 18 Jul 2012 19:03:04 +0000 (21:03 +0200)
create more verbose -h output similar as the other libcgroup tools fix man page typo

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-by: Jan Safranek <jsafrane@redhat.com>
doc/man/cgset.1
src/tools/cgset.c

index 8ca89186b1b957345bf39ed26d9716a0bd17846d..41abc30cf70b3ed0122d56021b9d8ea0596bed62 100644 (file)
@@ -26,7 +26,7 @@ the value which should be written to that file.
 This parameter can be used multiple times.
 
 .TP
-.B -copy-from <source_cgroup_path>
+.B --copy-from <source_cgroup_path>
 defines the name of the cgroup whose parameters will be
 copied to the input cgroup.
 
index 8f1af524a16dd4be54f69f731566caa3c1576b65..614477e30cf6fee20779e9ad956b030786da6546 100644 (file)
@@ -66,6 +66,11 @@ static void usage(int status, const char *program_name)
                        "   or: %s --copy-from <source_cgroup_path> "
                            "<cgroup_path> ...\n",
                        program_name, program_name);
+               printf("Set the parameters of given cgroup(s)\n");
+               printf("  -r, --variable <name>                 "\
+                       "Define parameter to display\n");
+               printf("  --copy-from <source_cgroup_path>      "\
+                       "Control group whose parameters will be copied\n");
        }
 }