mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
355c88f5a4
This commit updates the command line help for several commands within cmd/lncli to be more uniform, and also use the proper attributes within the urfave/cli project. Additionally, in several areas cli.Int was using used instead of cli.Int64 when parsing satoshis. This oversight has been rectified by modifying all incorrect occurrences. Finally, this commit, as its central contribution, adds the ability to mix and match positional arguments with key-word arguments for several commands! The following commands can now be used with either only positional arguments, only key-word arguments, or a mix of both when applicable: * openchannel * closechannel * sendpayment * getnodeinfo * getchaninfo * newaddress * sendcoins * sendmany * connect * addinvoice * lookupinvoice * queryroute The set of changes outlined above should make command line tinkering with `lnd` a bit more streamlined, yet still very flexible. |
||
---|---|---|
.. | ||
lncli |