def add_arguments_for_get_test_cases(parser):
    """Adds the appropriate command line arguments for the `get_test_cases()`
    function to work to the given `argparse.ArgumentParser` object."""
    parser.add_argument('-p', '--pattern', metavar='pat', action='append',
        help=
        "Specifies a pattern used to filter which toplevel entities are actually simulated. Patterns work glob-style and are applied in the sequence in which they are specified, by default operating on entity names. If a pattern starts with '!', entities matched previously that also match this pattern are excluded. If a pattern starts with ':', the filename is matched instead. ':!' combines the two. Note that the patterns match the *entire* entity name/absolute filename, so make sure to prefix/suffix an asterisk if you want a partial match. If no patterns are specified, the matcher defaults to a single '*_tc' pattern."
        )
