def METHOD_NAME(args):
    gettext.textdomain("checkbox")
    usage = """Usage: %prog DIRECTION... [--edge-scroll]"""
    parser = OptionParser(usage=usage)
    parser.add_option("--edge-scroll", action="store_true", default=False,
                      help="Force touchpad to use edge scrolling only")
    (options, args) = parser.parse_args(args)
    if not args:
        parser.error("Must specify directions to test.")
    directions = []
    for arg in args:
        try:
            direction = Direction(arg)
        except AttributeError:
            parser.error("Unsupported direction: %s" % arg)
        directions.append(direction)
    scroller = GtkScroller(directions, edge_scroll=options.edge_scroll)
    try:
        scroller.run()
    except KeyboardInterrupt:
        scroller.show_text(_("Test interrupted"), scroller.status)
        scroller.quit()
    return scroller.exit_code