From 5e3715fe1da3f29a52147512d5447a778c0a98a8 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Fri, 13 May 2022 20:47:39 +0530 Subject: [PATCH] tools/lscgroup: add support status for the tool 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 Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/tools/lscgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/lscgroup.c b/src/tools/lscgroup.c index 93fb3d7c..57797378 100644 --- a/src/tools/lscgroup.c +++ b/src/tools/lscgroup.c @@ -48,6 +48,7 @@ static void usage(int status, const char *program_name) info(" -g : Control group to be "); info("displayed (-g is optional)\n"); info(" -h, --help Display this help\n"); + info("(Note: currently supported on cgroups v1 only)\n"); } /* -- 2.47.3