Add tor-host option

This commit is contained in:
Nekun
2021-04-04 23:49:29 +00:00
parent e90430c99f
commit 214f33fd05
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -48,6 +48,9 @@ if (AttachConsole(ATTACH_PARENT_PROCESS)) {
QCommandLineOption useLocalTorOption(QStringList() << "use-local-tor", "Use system wide installed Tor instead of the bundled.");
parser.addOption(useLocalTorOption);
QCommandLineOption torHostOption(QStringList() << "tor-host", "Address of running Tor instance.", "torHost");
parser.addOption(torHostOption);
QCommandLineOption torPortOption(QStringList() << "tor-port", "Port of running Tor instance.", "torPort");
parser.addOption(torPortOption);