#!/usr/bin/python3

# -*- coding: utf-8-unix; -*-
#
#  Copyright © 2013-2014, Nicolas CANIART <nicolas@caniart.net>
#
#  This file is part of vs-ssh.
#
#  vs-ssh is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License version 2 as
#  published by the Free Software Foundation.
#
#  vs-ssh is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with vs-ssh.  If not, see <http://www.gnu.org/licenses/>.
#
import os
import sys

from vcs_ssh import parse_args, main


if '__main__' == __name__:
    if os.getenv('COVERAGE_PROCESS_START') is not None:
        try:
            import coverage
            coverage.process_startup()
        except ImportError:
            pass
    args = parse_args(sys.argv[1:])
    sys.exit(main(**args))


# vim: syntax=python:sws=4:sw=4:et:

