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__