parser.add_argument("--reconfigure",
action="store_true", dest="reconfigure",
help="Force configuration to be run")
-parser.add_argument("--wait-after-config",
+parser.add_argument("-w, --wait-after-config",
action="store_true", dest="wait_after_config",
help="Wait for user confirmation after configuration is finished")
parser.add_argument("--reset-source",
parser.add_argument("projects", metavar='PROJECT', nargs='*',
help="Manually specify projects or folders to be built (project names take precedence)")
args = parser.parse_args()
+if args.reset_source and not args.update:
+ raise Exception("Can not reset sources without doing an update")
# load config
config = imp.load_source('config', args.config).__dict__