From 98712c037d7833a4e3933d4aff3b649a6876f3ed Mon Sep 17 00:00:00 2001 From: Francisco Calderon Date: Sun, 9 Sep 2018 19:16:00 -0300 Subject: [PATCH] cmd/lncli: fix missing whitespaces on lncli queryroutes desc Adds whitespaces missing on command description, without those whitespaces at the end of the line it showed the words together --- cmd/lncli/commands.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index f88b3976..75493a96 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -151,9 +151,9 @@ var sendCoinsCommand = cli.Command{ Description: ` Send amt coins in satoshis to the BASE58 encoded bitcoin address addr. - Fees used when sending the transaction can be specified via the --conf_target, or + Fees used when sending the transaction can be specified via the --conf_target, or --sat_per_byte optional flags. - + Positional arguments and flags can be used interchangeably but not at the same time! `, Flags: []cli.Flag{ @@ -250,7 +250,7 @@ var sendManyCommand = cli.Command{ Description: ` Create and broadcast a transaction paying the specified amount(s) to the passed address(es). - The send-json-string' param decodes addresses and the amount to send + The send-json-string' param decodes addresses and the amount to send respectively in the following format: '{"ExampleAddr": NumCoinsInSatoshis, "SecondAddr": NumCoins}' @@ -1059,7 +1059,7 @@ var createCommand = cli.Command{ The create command is used to initialize an lnd wallet from scratch for the very first time. This is interactive command with one required argument (the password), and one optional argument (the mnemonic - passphrase). + passphrase). The first argument (the password) is required and MUST be greater than 8 characters. This will be used to encrypt the wallet within lnd. This @@ -2537,12 +2537,12 @@ var queryRoutesCommand = cli.Command{ }, cli.Int64Flag{ Name: "fee_limit", - Usage: "maximum fee allowed in satoshis when sending" + + Usage: "maximum fee allowed in satoshis when sending " + "the payment", }, cli.Int64Flag{ Name: "fee_limit_percent", - Usage: "percentage of the payment's amount used as the" + + Usage: "percentage of the payment's amount used as the " + "maximum fee allowed when sending the payment", }, cli.Int64Flag{ @@ -2647,7 +2647,7 @@ var debugLevelCommand = cli.Command{ Usage: "Set the debug level.", Description: `Logging level for all subsystems {trace, debug, info, warn, error, critical, off} You may also specify =,=,... to set the log level for individual subsystems - + Use show to list available subsystems`, Flags: []cli.Flag{ cli.BoolFlag{ @@ -2749,7 +2749,7 @@ var stopCommand = cli.Command{ Name: "stop", Usage: "Stop and shutdown the daemon.", Description: ` - Gracefully stop all daemon subsystems before stopping the daemon itself. + Gracefully stop all daemon subsystems before stopping the daemon itself. This is equivalent to stopping it using CTRL-C.`, Action: actionDecorator(stopDaemon), } @@ -2773,9 +2773,9 @@ var signMessageCommand = cli.Command{ Usage: "Sign a message with the node's private key.", ArgsUsage: "msg", Description: ` - Sign msg with the resident node's private key. - Returns the signature as a zbase32 string. - + Sign msg with the resident node's private key. + Returns the signature as a zbase32 string. + Positional arguments and flags can be used interchangeably but not at the same time!`, Flags: []cli.Flag{ cli.StringFlag{ @@ -2880,7 +2880,7 @@ var feeReportCommand = cli.Command{ Name: "feereport", Category: "Channels", Usage: "Display the current fee policies of all active channels.", - Description: ` + Description: ` Returns the current fee policies of all active channels. Fee policies can be updated using the updatechanpolicy command.`, Action: actionDecorator(feeReport),