Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missed arguments to RunTriblerArgsParser #6804

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions src/run_tribler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down