diff options
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 875988f..41661b9 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -123,6 +123,7 @@ static void PrintUsage() | |||
| 123 | printf(" /poolname=NAME\n"); | 123 | printf(" /poolname=NAME\n"); |
| 124 | printf(" /poolfee=PCT\n"); | 124 | printf(" /poolfee=PCT\n"); |
| 125 | printf(" /pooldashboard=URL (alias: /pooldash=URL)\n"); | 125 | printf(" /pooldashboard=URL (alias: /pooldash=URL)\n"); |
| 126 | printf(" /poolstatusfile=PATH (write pool status JSON for dashboards)\n"); | ||
| 126 | printf("\n"); | 127 | printf("\n"); |
| 127 | printf(".btf and rendezvous:\n"); | 128 | printf(".btf and rendezvous:\n"); |
| 128 | printf(" /connectbtf=PEER_BTF_ADDRESS\n"); | 129 | printf(" /connectbtf=PEER_BTF_ADDRESS\n"); |
| @@ -239,6 +240,10 @@ static void ParseStartupArguments(int argc, char* argv[]) | |||
| 239 | if (!poolFee.empty()) | 240 | if (!poolFee.empty()) |
| 240 | dPoolFeePercent = atof(poolFee.c_str()); | 241 | dPoolFeePercent = atof(poolFee.c_str()); |
| 241 | 242 | ||
| 243 | string poolStatusFile = argval2(argc, argv, "/poolstatusfile", "-poolstatusfile"); | ||
| 244 | if (!poolStatusFile.empty()) | ||
| 245 | strPoolStatusFile = poolStatusFile; | ||
| 246 | |||
| 242 | string btfConnect = argval2(argc, argv, "/connectbtf", "-connectbtf"); | 247 | string btfConnect = argval2(argc, argv, "/connectbtf", "-connectbtf"); |
| 243 | if (!btfConnect.empty()) | 248 | if (!btfConnect.empty()) |
| 244 | strBtfConnect = btfConnect; | 249 | strBtfConnect = btfConnect; |