parser=argparse.ArgumentParser(description="Generate build scripts for differend versions.")
parser.add_argument("source",metavar="source",type=str,nargs=1,help="The source build script to modify.")
parser.add_argument("versions",metavar="versions",type=str,nargs="+",help="The files they contain the version information.")
parser.add_argument("-f","--files",dest="files",type=str,nargs="?",default=".",help="The target directory to save the generated scripts in. Default: \".\"")
parser.add_argument("-l","--list",dest="list",action="store_const",const=True,default=False,help="Output all gerenated file names.")
parser.add_argument("-L","--list-full",dest="list_full",action="store_const",const=True,default=False,help="Like --list with path from --files.")