From 3ea07f167f0d7a19a4ef5c4b934db2b55e5229f4 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 20 Apr 2020 18:14:45 +0200 Subject: [PATCH] cmd/loop: clarify some flag descriptions --- cmd/loop/loopout.go | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/cmd/loop/loopout.go b/cmd/loop/loopout.go index 328a5b7..5aa589a 100644 --- a/cmd/loop/loopout.go +++ b/cmd/loop/loopout.go @@ -17,7 +17,7 @@ var loopOutCommand = cli.Command{ Usage: "perform an off-chain to on-chain swap (looping out)", ArgsUsage: "amt [addr]", 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. 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.`, Flags: []cli.Flag{ cli.Uint64Flag{ - Name: "channel", - Usage: "the 8-byte compact channel ID of the channel to loop out", + Name: "channel", + Usage: "the 8-byte compact channel ID of the channel " + + "to loop out", }, cli.StringFlag{ Name: "addr", @@ -48,8 +49,9 @@ var loopOutCommand = cli.Command{ }, cli.Int64Flag{ Name: "max_swap_routing_fee", - Usage: "the max off-chain swap routing fee in satoshis, " + - "if let blank a default max fee will be used", + Usage: "the max off-chain swap routing fee in " + + "satoshis, if not specified, a default max " + + "fee will be used", }, cli.BoolFlag{ Name: "fast", @@ -57,9 +59,9 @@ var loopOutCommand = cli.Command{ "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 chain fees. Not " + - "setting this flag might result in a lower " + - "swap fee.", + "HTLC on-chain, to save on its chain fees. " + + "Not setting this flag therefore might " + + "result in a lower swap fee.", }, }, Action: loopOut,