parser.add_argument('-b','--build',action='store_true',dest='build',help='Do a Gitian build')
parser.add_argument('-B','--buildsign',action='store_true',dest='buildsign',help='Build both signed and unsigned binaries')
parser.add_argument('-o','--os',dest='os',default='lawm',help='Specify which Operating Systems the build is for. Default is %(default)s. l for Linux, a for Android, w for Windows, m for MacOS')
parser.add_argument('-r','--rebuild',action='store_true',dest='rebuild',help='Redo a Gitian build')
parser.add_argument('-R','--rebuildsign',action='store_true',dest='rebuildsign',help='Redo and sign a Gitian build')
parser.add_argument('-j','--jobs',dest='jobs',default='2',help='Number of processes to use. Default %(default)s')
parser.add_argument('-m','--memory',dest='memory',default='2000',help='Memory to allocate in MiB. Default %(default)s')
parser.add_argument('-k','--kvm',action='store_true',dest='kvm',help='Use KVM instead of LXC')
@ -146,6 +157,10 @@ def main():
args.build=True
args.sign=True
ifargs.rebuildsign:
args.rebuild=True
args.sign=True
ifargs.kvmandargs.docker:
raiseException('Error: cannot have both kvm and docker')