Complete rewrite of arginfo, also expose default information.