loop: fix loop out help text

pull/629/head
Slyghtning 8 months ago
parent d2c5328ff9
commit e490d97f3f
No known key found for this signature in database
GPG Key ID: F82D456EA023C9BF

@ -19,9 +19,8 @@ var (
confTargetFlag = cli.Uint64Flag{
Name: "conf_target",
Usage: "the target number of blocks the on-chain " +
"htlc broadcast by the swap client should " +
"confirm within",
Usage: "the target number of blocks the on-chain htlc " +
"broadcast by the swap client should confirm within",
}
labelFlag = cli.StringFlag{
@ -33,19 +32,20 @@ var (
}
routeHintsFlag = cli.StringSliceFlag{
Name: "route_hints",
Usage: "Route hints that can each be individually used " +
"to assist in reaching the invoice's destination.",
Usage: "route hints that can each be individually used " +
"to assist in reaching the invoice's destination",
}
privateFlag = cli.BoolFlag{
Name: "private",
Usage: "Generates and passes routehints. Should be used " +
"if the connected node is only reachable via private " +
Usage: "generates and passes routehints. Should be used if " +
"the connected node is only reachable via private " +
"channels",
}
forceFlag = cli.BoolFlag{
Name: "force, f",
Usage: "Assumes yes during confirmation. Using this option will result in an immediate swap",
Name: "force, f",
Usage: "Assumes yes during confirmation. Using this option " +
"will result in an immediate swap",
}
loopInCommand = cli.Command{
@ -66,8 +66,11 @@ var (
`,
Flags: []cli.Flag{
cli.Uint64Flag{
Name: "amt",
Usage: "the amount in satoshis to loop in",
Name: "amt",
Usage: "the amount in satoshis to loop in. " +
"To check for the minimum and " +
"maximum amounts to loop " +
"in please consult \"loop terms\"",
},
cli.BoolFlag{
Name: "external",

@ -44,7 +44,7 @@ var loopOutCommand = cli.Command{
Usage: "the name of the account to generate a new " +
"address from. You can list the names of " +
"valid accounts in your backing lnd " +
"instance with \"lncli wallet accounts list\".",
"instance with \"lncli wallet accounts list\"",
Value: "",
},
cli.StringFlag{
@ -55,14 +55,16 @@ var loopOutCommand = cli.Command{
Value: "p2tr",
},
cli.Uint64Flag{
Name: "amt",
Usage: "the amount in satoshis to loop out",
Name: "amt",
Usage: "the amount in satoshis to loop out. To check " +
"for the minimum and maximum amounts to loop " +
"out please consult \"loop terms\"",
},
cli.Uint64Flag{
Name: "htlc_confs",
Usage: "the number of confirmations (in blocks) " +
"that we require for the htlc extended by " +
"the server before we reveal the preimage.",
"the server before we reveal the preimage",
Value: uint64(loopdb.DefaultLoopOutHtlcConfirmations),
},
cli.Uint64Flag{
@ -80,13 +82,13 @@ var loopOutCommand = cli.Command{
},
cli.BoolFlag{
Name: "fast",
Usage: "Indicate you want to swap immediately, " +
Usage: "indicate you want to swap immediately, " +
"paying potentially a higher fee. If not " +
"set the swap server might choose to wait up " +
"to 30 minutes before publishing the swap " +
"HTLC on-chain, to save on its chain fees. " +
"Not setting this flag therefore might " +
"result in a lower swap fee.",
"result in a lower swap fee",
},
forceFlag,
labelFlag,

Loading…
Cancel
Save