]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
tools/cgset: Fix -R switch indentation in help menu
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Fri, 4 Oct 2024 07:08:51 +0000 (12:38 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 7 Oct 2024 21:17:06 +0000 (15:17 -0600)
Fix the indentation of '-R' switch description of cgset help menu.

Before:
-------
$ cgset --help
Usage: cgset [-r <name=value>] <cgroup_path> ...
   or: cgset --copy-from <source_cgroup_path> <cgroup_path> ...
Set the parameters of given cgroup(s)
  -r, --variable <name>                 Define parameter to set
  --copy-from <source_cgroup_path>      Control group whose parameters will be copied
  -b                                    Ignore default systemd delegate hierarchy
  -R                                      Recursively set variable(s) for cgroups under <cgroup_path>

After:
------
$ cgset --help
Usage: cgset [-r <name=value>] <cgroup_path> ...
   or: cgset --copy-from <source_cgroup_path> <cgroup_path> ...
Set the parameters of given cgroup(s)
  -r, --variable <name>                 Define parameter to set
  --copy-from <source_cgroup_path>      Control group whose parameters will be copied
  -b                                    Ignore default systemd delegate hierarchy
  -R                                    Recursively set variable(s) for cgroups under <cgroup_path>

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/tools/cgset.c

index 8b1ecf3b569d70badbe10f4034673b7141f25cbb..182e91c7721d4bef1e54f1114049a6088cfeaa91 100644 (file)
@@ -363,7 +363,7 @@ static void usage(int status)
        info("  -b                                      Ignore default systemd ");
        info("delegate hierarchy\n");
 #endif
-       info("  -R                                      Recursively set variable(s)");
+       info("  -R                                      Recursively set variable(s)");
        info(" for cgroups under <cgroup_path>\n");
 }
 #endif /* !UNIT_TEST */