def METHOD_NAME(self, parser: argparse.ArgumentParser) -> None:
    group = parser.add_argument_group('Output arguments')
    group.add_argument('--output-type', default='street',
                       choices=('country', 'state', 'county',
                                'city', 'suburb', 'street', 'path'),
                       help='Type of places to output (default: street)')
    group.add_argument('--output-format',
                       default='street;suburb;city;county;state;country',
                       help=("Semicolon-separated list of address types "
                             "(see --output-type). Additionally accepts:"
                             "placeid,postcode"))
    group.add_argument('--language',
                       help=("Preferred language for output "
                             "(use local name, if omitted)"))
    group = parser.add_argument_group('Filter arguments')
    group.add_argument('--restrict-to-country', metavar='COUNTRY_CODE',
                       help='Export only objects within country')
    group.add_argument('--restrict-to-osm-node', metavar='ID', type=int,
                       dest='node',
                       help='Export only children of this OSM node')
    group.add_argument('--restrict-to-osm-way', metavar='ID', type=int,
                       dest='way',
                       help='Export only children of this OSM way')
    group.add_argument('--restrict-to-osm-relation', metavar='ID', type=int,
                       dest='relation',
                       help='Export only children of this OSM relation')