lscgroup currently doesn't support the cgroupv2 filesystem. Add the
warning about the support status in the help.
Fixes: https://github.com/libcgroup/libcgroup/issues/50
Suggested-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit
5e3715fe1da3f29a52147512d5447a778c0a98a8)
printf(" -g <controllers>:<path> Control group to be displayed "\
"(-g is optional)\n");
printf(" -h, --help Display this help\n");
+ printf("(Note: currently supported on cgroups v1 only)\n");
}
/*