def _compute_entry_points_setup_parser(parser):
    """
    Set up the openmdao subparser for the 'openmdao compute_entry_points' command.

    Parameters
    ----------
    parser : argparse subparser
        The parser we're adding options to.
    """
    parser.add_argument('package', nargs=1, help=
        'Compute entry points for this package.')
    parser.add_argument('-o', action='store', dest='outfile', help=
        'output file.')
