Remove cgconfig input free row and change the output program name to standardize
the output with the other libcgroup tools.
sort options based on alphabetical order

Signed-off-by: Ivana Hutarova Varekova <varek...@redhat.com>
---

 src/tools/cgconfig.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/tools/cgconfig.c b/src/tools/cgconfig.c
index cee007e..e8bb5a2 100644
--- a/src/tools/cgconfig.c
+++ b/src/tools/cgconfig.c
@@ -44,20 +44,19 @@ static void usage(int status, char *progname)
        }
        printf("Usage: %s [-h] [-f mode] [-d mode] [-s mode] "\
                "[-t <tuid>:<tgid>] [-a <agid>:<auid>] [-l FILE] "\
-               "[-L DIR] ...\n", basename(progname));
-       printf("\n");
+               "[-L DIR] ...\n", progname);
        printf("Parse and load the specified cgroups configuration file\n");
-       printf("  -h, --help                    Display this help\n");
-       printf("  -l, --load=FILE               Parse and load the cgroups "\
-               "configuration file\n");
-       printf("  -L, --load-directory=DIR      Parse and load the cgroups "\
-               "configuration files from a directory\n");
        printf("  -a <tuid>:<tgid>              Default owner of groups files "\
                "and directories\n");
        printf("  -d, --dperm=mode              Default group directory "\
                "permissions\n");
        printf("  -f, --fperm=mode              Default group file "\
                "permissions\n");
+       printf("  -h, --help                    Display this help\n");
+       printf("  -l, --load=FILE               Parse and load the cgroups "\
+               "configuration file\n");
+       printf("  -L, --load-directory=DIR      Parse and load the cgroups "\
+               "configuration files from a directory\n");
        printf("  -s, --tperm=mode              Default tasks file "\
                "permissions\n");
        printf("  -t <tuid>:<tgid>              Default owner of the tasks "\


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to