From 11d418bc12fd5aca78654a02e97632771a9a3744 Mon Sep 17 00:00:00 2001 From: Alexander Kozlovsky Date: Wed, 9 Mar 2022 12:17:03 +0100 Subject: [PATCH] Add missed arguments to RunTriblerArgsParser --- src/run_tribler.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/run_tribler.py b/src/run_tribler.py index dc556d4fbf4..c2dbee029fe 100644 --- a/src/run_tribler.py +++ b/src/run_tribler.py @@ -23,8 +23,20 @@ def __init__(self, *args, **kwargs): kwargs['description'] = 'Run Tribler BitTorrent client' super().__init__(*args, **kwargs) self.add_argument('torrent', help='torrent file to download', default='', nargs='?') - self.add_argument('--core', action="store_true") - self.add_argument('--gui-test-mode', action="store_true") + self.add_argument('--core', action="store_true", help="run core process") + self.add_argument('--gui-test-mode', action="store_true", help="use fake data to test GUI application") + + self.add_argument('--allow-code-injection', action="store_true", + help="accept remote code to test GUI application") + + self.add_argument('--trace-exception', action="store_true", help="trace exceptions for debugging") + self.add_argument('--trace-debug', action="store_true", help="trace function calls for debugging") + + self.add_argument('--testnet', action="store_true", help="run Tribler in a separate test network") + + self.add_argument('--chant-testnet', action="store_true", help="use a separate test database for channels") + self.add_argument('--trustchain-testnet', action="store_true", help="use a separate trustchain community") + self.add_argument('--tunnel-testnet', action="store_true", help="use a separate tunnel community") def init_sentry_reporter():