Update torghostng.py

This commit is contained in:
Git Kern3l 2020-04-25 21:37:35 +07:00 committed by GitHub
parent 20893e37a5
commit a48a14fc60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,11 +9,11 @@ from torngconf.theme import *
from os import geteuid, system, path, name
SLEEP_TIME = 1.0
VERSION = "1.1"
VERSION = "1.2"
def the_argparse(language=English):
parser = argparse.ArgumentParser(usage="torghostng [-h] -s|-x|-id|-m|-c|-l|--list", add_help=False)
parser = argparse.ArgumentParser(usage="torghostng [-h] -s|-x!|-id|-r|-m|-c|-l|--list", add_help=False)
parser._optionals.title = language.options
parser.add_argument("-h","--help", help=language.help_help, action="help", default=argparse.SUPPRESS)
parser.add_argument("-s","--start", help=language.start_help, action="store_true")