renamed --color option to --group for better consistency with the code.