PIM-3197 : refactor query help command