improving the parsing of --group and --grouppos
adding a warning and some text