copy file and line information into definitions generated for optional positional arguments