[sgen] Split protocol entry grep from argument parsing