Skip to content

Commit

Permalink
tools/cgset: Fix -R switch indentation in help menu
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tom Hromatka <[email protected]>
  • Loading branch information
kamalesh-babulal authored and drakenclimber committed Oct 7, 2024
1 parent 48f3ceb commit ec97c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/cgset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ec97c52

Please sign in to comment.