From: Kamalesh Babulal Date: Fri, 13 May 2022 15:17:39 +0000 (+0530) Subject: tools/lscgroup: add support status for the tool X-Git-Tag: v3.0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e3715fe1da3f29a52147512d5447a778c0a98a8;p=thirdparty%2Flibcgroup.git 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 --- 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"); } /*