cmd/loop: clarify some flag descriptions

pull/180/head
Oliver Gugger 4 years ago
parent 3b630667a5
commit 3ea07f167f
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -17,7 +17,7 @@ var loopOutCommand = cli.Command{
Usage: "perform an off-chain to on-chain swap (looping out)", Usage: "perform an off-chain to on-chain swap (looping out)",
ArgsUsage: "amt [addr]", ArgsUsage: "amt [addr]",
Description: ` Description: `
Attempts loop out the target amount into either the backing lnd's Attempts to loop out the target amount into either the backing lnd's
wallet, or a targeted address. wallet, or a targeted address.
The amount is to be specified in satoshis. The amount is to be specified in satoshis.
@ -26,8 +26,9 @@ var loopOutCommand = cli.Command{
specified. If not specified, a new wallet address will be generated.`, specified. If not specified, a new wallet address will be generated.`,
Flags: []cli.Flag{ Flags: []cli.Flag{
cli.Uint64Flag{ cli.Uint64Flag{
Name: "channel", Name: "channel",
Usage: "the 8-byte compact channel ID of the channel to loop out", Usage: "the 8-byte compact channel ID of the channel " +
"to loop out",
}, },
cli.StringFlag{ cli.StringFlag{
Name: "addr", Name: "addr",
@ -48,8 +49,9 @@ var loopOutCommand = cli.Command{
}, },
cli.Int64Flag{ cli.Int64Flag{
Name: "max_swap_routing_fee", Name: "max_swap_routing_fee",
Usage: "the max off-chain swap routing fee in satoshis, " + Usage: "the max off-chain swap routing fee in " +
"if let blank a default max fee will be used", "satoshis, if not specified, a default max " +
"fee will be used",
}, },
cli.BoolFlag{ cli.BoolFlag{
Name: "fast", Name: "fast",
@ -57,9 +59,9 @@ var loopOutCommand = cli.Command{
"paying potentially a higher fee. If not " + "paying potentially a higher fee. If not " +
"set the swap server might choose to wait up " + "set the swap server might choose to wait up " +
"to 30 minutes before publishing the swap " + "to 30 minutes before publishing the swap " +
"HTLC on-chain, to save on chain fees. Not " + "HTLC on-chain, to save on its chain fees. " +
"setting this flag might result in a lower " + "Not setting this flag therefore might " +
"swap fee.", "result in a lower swap fee.",
}, },
}, },
Action: loopOut, Action: loopOut,

Loading…
Cancel
Save