create more verbose -h output similar as the other libcgroup tools fix man page
typo
Signed-off-by: Ivana Hutarova Varekova <[email protected]>
---
doc/man/cgset.1 | 2 +-
src/tools/cgset.c | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/doc/man/cgset.1 b/doc/man/cgset.1
index 8ca8918..41abc30 100644
--- a/doc/man/cgset.1
+++ b/doc/man/cgset.1
@@ -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.
diff --git a/src/tools/cgset.c b/src/tools/cgset.c
index 8f1af52..614477e 100644
--- a/src/tools/cgset.c
+++ b/src/tools/cgset.c
@@ -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");
}
}
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel