return text with check groups command