OptionParser

class support.arguments.OptionParser(description='', usage='', examples='')

Bases: argparse.ArgumentParser

front end for ArgumentParser for older programs from ‘optparse’ days

Methods Summary

parse_args([args])

parse the command line arguments

Methods Documentation

parse_args(args=None)

parse the command line arguments

If this is passed arguments it is assumed that ‘opt_parse’ behavior is wanted, return opts,args. If not, we assume ‘arg_parse’ behavior returning only args.