def AddCommonDaisyArgs(parser, add_log_location=True):
    'Common arguments for Daisy builds.'
    if add_log_location:
        parser.add_argument('--log-location', help='Directory in Cloud Storage to hold build logs. If not set, ```gs://<project num>.cloudbuild-logs.googleusercontent.com/``` is created and used.')
    parser.add_argument('--timeout', type=arg_parsers.Duration(), default='2h', help='          Maximum time a build can last before it fails as "TIMEOUT".\n          For example, specifying `2h` fails the process after 2 hours.\n          See $ gcloud topic datetimes for information about duration formats.\n          ')
    base.ASYNC_FLAG.AddToParser(parser)
Common arguments for Daisy builds.
def AddCommonDaisyArgs(parser, add_log_location=True):
    
    if add_log_location:
        parser.add_argument('--log-location', help='Directory in Cloud Storage to hold build logs. If not set, ```gs://<project num>.cloudbuild-logs.googleusercontent.com/``` is created and used.')
    parser.add_argument('--timeout', type=arg_parsers.Duration(), default='2h', help='          Maximum time a build can last before it fails as "TIMEOUT".\n          For example, specifying `2h` fails the process after 2 hours.\n          See $ gcloud topic datetimes for information about duration formats.\n          ')
    base.ASYNC_FLAG.AddToParser(parser)