Skip to content

Commit d7d38b4

Browse files
authored
client/rpcserver: fix startmmbot and stopmmbot help messages (#3485)
The parameters were marked as optional when they were actually required.
1 parent c9a1421 commit d7d38b4

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

client/rpcserver/handlers.go

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1910,19 +1910,22 @@ supported for DCR wallets.`,
19101910
num (int): The number of notifications to load.`,
19111911
},
19121912
startBotRoute: {
1913-
cmdSummary: `Start market making.`,
1914-
argsShort: `(cfgPath) (host) (baseID) (quoteID) (dexBals) (dexBals)`,
1913+
pwArgsShort: `"appPass"`,
1914+
cmdSummary: `Start market making.`,
1915+
argsShort: `cfgPath host baseID quoteID dexBals cexBals`,
1916+
pwArgsLong: `Password Args:
1917+
appPass (string): The Bison Wallet password.`,
19151918
argsLong: `Args:
1916-
cfgPath (string): The path to the market maker config file.
1917-
host (string): The DEX address.
1918-
baseID (int): The base asset's BIP-44 registered coin index.
1919-
quoteID (int): The quote asset's BIP-44 registered coin index.
1920-
dexBalances (array): The DEX balances i.e. [[60,1000000],[42,10000000]].
1921-
cexBalances (array): The CEX balances i.e. [[60,1000000],[42,10000000]].`,
1919+
cfgPath (string): The path to the market maker config file.
1920+
host (string): The DEX address.
1921+
baseID (int): The base asset's BIP-44 registered coin index.
1922+
quoteID (int): The quote asset's BIP-44 registered coin index.
1923+
dexBalances (array): The DEX balances i.e. [[60,1000000],[42,10000000]].
1924+
cexBalances (array): The CEX balances i.e. [[60,1000000],[42,10000000]].`,
19221925
},
19231926
stopBotRoute: {
19241927
cmdSummary: `Stop market making.`,
1925-
argsShort: `(host) (baseID) (quoteID)`,
1928+
argsShort: `host baseID quoteID`,
19261929
argsLong: `Args:
19271930
host (string): The DEX address.
19281931
baseID (int): The base asset's BIP-44 registered coin index.

0 commit comments

Comments
 (0)