From: Kamalesh Babulal Date: Mon, 16 May 2022 15:22:52 +0000 (-0600) Subject: tools/lscgroup: add support status for the tool X-Git-Tag: v2.0.3~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c20ab4619cf8a428e8d7c799771706ddffdcad4;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 (cherry picked from commit 5e3715fe1da3f29a52147512d5447a778c0a98a8) --- diff --git a/src/tools/lscgroup.c b/src/tools/lscgroup.c index 31d5c2e6..866064ea 100644 --- a/src/tools/lscgroup.c +++ b/src/tools/lscgroup.c @@ -52,6 +52,7 @@ static void usage(int status, const char *program_name) printf(" -g : 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"); } /*