def METHOD_NAME():
    """Sets up and returns a command line option parser."""
    parser = ArgumentParser(
        description=("Detects and updates the network topology in your NAV " "database")
    )
    parser.add_argument(
        '--version', action='version', version='NAV ' + buildconf.VERSION
    )
    parser.add_argument("--l2", action="store_true", help="Detect physical topology")
    parser.add_argument("--vlan", action="store_true", help="Detect vlan subtopologies")
    parser.add_argument(
        "-i",
        dest="include_vlans",
        type=int_list,
        metavar="vlan[,...]",
        help="Only analyze the VLANs included in this list",
    )
    parser.add_argument(
        "-s", "--stderr", action="store_true", help="Log to stderr (even if not a tty)"
    )
    return parser