#NEWLINE# def parse_args( ) : #NEWLINE# #INDENT# parser = argparse . ArgumentParser ( description = 'Creates marathon jobs.' ) #NEWLINE# parser . add_argument ( 'service_instance' , help = 'The marathon instance of the service to create or update' , metavar = ( 'SERVICE%sINSTANCE' % SPACER ) ) #NEWLINE# parser . add_argument ( '-d' , '--soa-dir' , dest = 'soa_dir' , metavar = 'SOA_DIR' , default = marathon_tools . DEFAULT_SOA_DIR , help = 'define a different soa config directory' ) #NEWLINE# parser . add_argument ( '-v' , '--verbose' , action = 'store_true' , dest = 'verbose' , default = False ) #NEWLINE# args = parser . parse_args ( ) #NEWLINE# return parser