upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index c593162..5c87fe0 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -97,6 +97,7 @@ static void ParseStartupArguments(int argc, char* argv[])
97 // their own mode below, so only the unqualified case is affected. 97 // their own mode below, so only the unqualified case is affected.
98 if (nMineMode == MINE_RELAY) 98 if (nMineMode == MINE_RELAY)
99 nMineMode = MINE_SOLO; 99 nMineMode = MINE_SOLO;
100 fMineModeFromCommandLine = true;
100 } 101 }
101 102
102 if (arg(argc,argv,"/solomine") || arg(argc,argv,"-solomine")) 103 if (arg(argc,argv,"/solomine") || arg(argc,argv,"-solomine"))
@@ -127,12 +128,16 @@ static void ParseStartupArguments(int argc, char* argv[])
127 } 128 }
128 129
129 if (arg(argc,argv,"/operator") || arg(argc,argv,"-operator")) 130 if (arg(argc,argv,"/operator") || arg(argc,argv,"-operator"))
131 {
130 nMineMode = MINE_OPERATOR; 132 nMineMode = MINE_OPERATOR;
133 fMineModeFromCommandLine = true;
134 }
131 135
132 if (arg(argc,argv,"/participant") || arg(argc,argv,"-participant")) 136 if (arg(argc,argv,"/participant") || arg(argc,argv,"-participant"))
133 { 137 {
134 nMineMode = MINE_PARTICIPANT; 138 nMineMode = MINE_PARTICIPANT;
135 strParticipantPool = argval2(argc, argv, "/participant", "-participant"); 139 strParticipantPool = argval2(argc, argv, "/participant", "-participant");
140 fMineModeFromCommandLine = true;
136 } 141 }
137 142
138 string poolName = argval2(argc, argv, "/poolname", "-poolname"); 143 string poolName = argval2(argc, argv, "/poolname", "-poolname");