fix typos

pull/603/head
Slyghtning 11 months ago
parent 32d48d3854
commit ae76aee14b
No known key found for this signature in database
GPG Key ID: F82D456EA023C9BF

@ -227,8 +227,8 @@ var setParamsCommand = cli.Command{
Usage: "update the parameters set for the liquidity manager", Usage: "update the parameters set for the liquidity manager",
Description: "Updates the parameters set for the liquidity manager. " + Description: "Updates the parameters set for the liquidity manager. " +
"Note the parameters are persisted in db to save the trouble " + "Note the parameters are persisted in db to save the trouble " +
"of setting them again upon loopd restart. To get the " + "of setting them again upon loopd restart. To get the default" +
"default values, use `getparams` before any `setparams`.", "values, use `getparams` before any `setparams`.",
Flags: []cli.Flag{ Flags: []cli.Flag{
cli.IntFlag{ cli.IntFlag{
Name: "sweeplimit", Name: "sweeplimit",
@ -248,13 +248,13 @@ var setParamsCommand = cli.Command{
cli.Float64Flag{ cli.Float64Flag{
Name: "maxroutingfee", Name: "maxroutingfee",
Usage: "the maximum percentage of off-chain payment " + Usage: "the maximum percentage of off-chain payment " +
"volume that are are willing to pay in " + "volume that we are willing to pay in routing" +
"routing fees.", "fees.",
}, },
cli.Float64Flag{ cli.Float64Flag{
Name: "maxprepayfee", Name: "maxprepayfee",
Usage: "the maximum percentage of off-chain prepay " + Usage: "the maximum percentage of off-chain prepay " +
"volume that are are willing to pay in " + "volume that we are willing to pay in " +
"routing fees.", "routing fees.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
@ -284,56 +284,56 @@ var setParamsCommand = cli.Command{
Name: "autoloop", Name: "autoloop",
Usage: "set to true to enable automated dispatch " + Usage: "set to true to enable automated dispatch " +
"of swaps, limited to the budget set by " + "of swaps, limited to the budget set by " +
"autobudget", "autobudget.",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "destaddr", Name: "destaddr",
Usage: "custom address to be used as destination for " + Usage: "custom address to be used as destination for " +
"autoloop loop out, set to \"default\" in " + "autoloop loop out, set to \"default\" in " +
"order to revert to default behavior", "order to revert to default behavior.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "autobudget", Name: "autobudget",
Usage: "the maximum amount of fees in satoshis that " + Usage: "the maximum amount of fees in satoshis that " +
"automatically dispatched loop out swaps may " + "automatically dispatched loop out swaps may " +
"spend", "spend.",
}, },
cli.DurationFlag{ cli.DurationFlag{
Name: "autobudgetrefreshperiod", Name: "autobudgetrefreshperiod",
Usage: "the time period over which the automated " + Usage: "the time period over which the automated " +
"loop budget is refreshed", "loop budget is refreshed.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "autoinflight", Name: "autoinflight",
Usage: "the maximum number of automatically " + Usage: "the maximum number of automatically " +
"dispatched swaps that we allow to be in " + "dispatched swaps that we allow to be in " +
"flight", "flight.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "minamt", Name: "minamt",
Usage: "the minimum amount in satoshis that the " + Usage: "the minimum amount in satoshis that the " +
"autoloop client will dispatch per-swap", "autoloop client will dispatch per-swap.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "maxamt", Name: "maxamt",
Usage: "the maximum amount in satoshis that the " + Usage: "the maximum amount in satoshis that the " +
"autoloop client will dispatch per-swap", "autoloop client will dispatch per-swap.",
}, },
cli.IntFlag{ cli.IntFlag{
Name: "htlc_conf", Name: "htlc_conf",
Usage: "the confirmation target for loop in on-chain " + Usage: "the confirmation target for loop in on-chain " +
"htlcs", "htlcs.",
}, },
cli.BoolFlag{ cli.BoolFlag{
Name: "easyautoloop", Name: "easyautoloop",
Usage: "set to true to enable easy autoloop, which " + Usage: "set to true to enable easy autoloop, which " +
"will automatically dispatch swaps in order " + "will automatically dispatch swaps in order " +
"to meet the target local balance", "to meet the target local balance.",
}, },
cli.Uint64Flag{ cli.Uint64Flag{
Name: "localbalancesat", Name: "localbalancesat",
Usage: "the target size of total local balance in " + Usage: "the target size of total local balance in " +
"satoshis, used by easy autoloop", "satoshis, used by easy autoloop.",
}, },
}, },
Action: setParams, Action: setParams,

Loading…
Cancel
Save