

def configure_clp_pex_entry_points(parser):
    group = OptionGroup(parser, 'PEX entry point options', 'Specify what target/module the PEX should invoke if any.')
    group.add_option('-m', '-e', '--entry-point', dest='entry_point', metavar='MODULE[:SYMBOL]', default=None, help='Set the entry point to module or module:symbol.  If just specifying module, pex behaves like python -m, e.g. python -m SimpleHTTPServer.  If specifying module:symbol, pex imports that symbol and invokes it as if it were main.')
    group.add_option('-c', '--script', '--console-script', dest='script', default=None, metavar='SCRIPT_NAME', help='Set the entry point as to the script or console_script as defined by a any of the distributions in the pex.  For example: "pex -c fab fabric" or "pex -c mturk boto".')
    parser.add_option_group(group)

dataset/ETHPy150Open pantsbuild/pex/pex/bin/pex.py configure_clp_pex_entry_points/original