mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-09-24 06:54:46 -04:00
Expose --port command-line option
This commit is contained in:
parent
3398a97311
commit
737d1855d1
1 changed files with 3 additions and 0 deletions
|
@ -74,6 +74,9 @@ public class Main extends Application {
|
||||||
if (argumentsNamespace.getString(NAME_KEY) != null)
|
if (argumentsNamespace.getString(NAME_KEY) != null)
|
||||||
properties.setProperty(NAME_KEY, argumentsNamespace.getString(NAME_KEY));
|
properties.setProperty(NAME_KEY, argumentsNamespace.getString(NAME_KEY));
|
||||||
|
|
||||||
|
if (argumentsNamespace.getString(PORT_KEY) != null)
|
||||||
|
properties.setProperty(PORT_KEY, argumentsNamespace.getString(PORT_KEY));
|
||||||
|
|
||||||
if (argumentsNamespace.getString(BOOTSTRAP_NODE_NAME_KEY) != null)
|
if (argumentsNamespace.getString(BOOTSTRAP_NODE_NAME_KEY) != null)
|
||||||
properties.setProperty(BOOTSTRAP_NODE_NAME_KEY, argumentsNamespace.getString(BOOTSTRAP_NODE_NAME_KEY));
|
properties.setProperty(BOOTSTRAP_NODE_NAME_KEY, argumentsNamespace.getString(BOOTSTRAP_NODE_NAME_KEY));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue