Add an extend action to argparser.