def addPhenotypeSearchOptions(parser):
    """
    Adds options to a phenotype searches command line parser.
    """
    parser.add_argument('--phenotype_association_set_id', '-s', default=
        None, help=
        'Only return phenotypes from this phenotype_association_set.')
    parser.add_argument('--phenotype_id', '-p', default=None, help=
        'Only return this phenotype.')
    parser.add_argument('--description', '-d', default=None, help=
        'Only return phenotypes matching this description.')
    parser.add_argument('--age_of_onset', '-a', default=None, help=
        'Only return phenotypes with this age_of_onset.')
    parser.add_argument('--type', '-T', default=None, help=
        'Only return phenotypes with this type.')
