fix minor typos in help output
Signed-off-by: Ivana Hutarova Varekova <[email protected]>
---
src/tools/cgcreate.c | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/doc/man/cgcreate.1 b/doc/man/cgcreate.1
index 4bcb132..f86e7b5 100644
--- a/doc/man/cgcreate.1
+++ b/doc/man/cgcreate.1
@@ -13,15 +13,6 @@ cgcreate \- create new cgroup(s)
The command creates new cgroup(s) defined by option
\fB-g\fR.
-
-
-.TP
-.B -t <tuid>:<tgid>
-defines the name of the user and the group, which owns tasks
-file of the defined control group. I.e. this user and members
-of this group have write access to the file.
-The default value is the same as has the parent cgroup.
-
.TP
.B -a <agid>:<auid>
defines the name of the user and the group, which owns the
@@ -53,6 +44,14 @@ multiple times.
.B -h, --help
display this help and exit
+.TP
+.B -t <tuid>:<tgid>
+defines the name of the user and the group, which owns tasks
+file of the defined control group. I.e. this user and members
+of this group have write access to the file.
+The default value is the same as has the parent cgroup.
+
+
.SH FILES
.SH SEE ALSO
diff --git a/src/tools/cgcreate.c b/src/tools/cgcreate.c
index a2a21b2..a09d2f1 100644
--- a/src/tools/cgcreate.c
+++ b/src/tools/cgcreate.c
@@ -42,18 +42,19 @@ static void usage(int status, const char *program_name)
"[-t <tuid>:<tgid>] [-a <agid>:<auid>] "\
"-g <controllers>:<path> [-g ...]\n",
program_name);
- fprintf(stdout, " -t <tuid>:<tgid> Set "\
- "the task permission\n");
fprintf(stdout, " -a <tuid>:<tgid> Set "\
"the admin permission\n");
+ fprintf(stdout, " -d, --dperm mode Group "\
+ "directory permissions\n");
+ fprintf(stdout, " -f, --fperm mode Group "\
+ "file permissions\n");
fprintf(stdout, " -g <controllers>:<path> Control "\
"group which should be added\n");
- fprintf(stdout, " -h,--help Display "\
+ fprintf(stdout, " -h, --help Display "\
"this help\n");
- fprintf(stdout, " -f, --fperm mode Group "\
- "file permissions\n");
- fprintf(stdout, " -d, --dperm mode Group "\
- "direrory permissions\n");
+ fprintf(stdout, " -t <tuid>:<tgid> Set "\
+ "the task permission\n");
+
}
}
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel