diff --git a/doc/lightning-cli.1 b/doc/lightning-cli.1 index 34a1dd49f..c522e17c7 100644 --- a/doc/lightning-cli.1 +++ b/doc/lightning-cli.1 @@ -90,22 +90,36 @@ entirely on the lightning daemon itself\. .SH ARGUMENTS Arguments may be provided positionally or using \fIkey\fR=\fIvalue\fR after the -command name, based on either \fB-o\fR or \fB-k\fR option\. Arguments may be -integer numbers (composed entirely of digits), floating-point numbers -(has a radix point but otherwise composed of digits), \fItrue\fR, \fIfalse\fR, +command name, based on either \fB-o\fR or \fB-k\fR option\. When using \fB-k\fR +consider prefixing all arguments of the command with their respective keyword, +this is to avoid having lightningd intrepret the position of an arguement\. + + +Arguments may be integer numbers (composed entirely of digits), floating-point +numbers (has a radix point but otherwise composed of digits), \fItrue\fR, \fIfalse\fR, or \fInull\fR\. Other arguments are treated as strings\. Some commands have optional arguments\. You may use \fInull\fR to skip -optional arguments to provide later arguments\. +optional arguments to provide later arguments, although this is not encouraged\. .SH EXAMPLES +.RS +.IP 1\. +List commands -Example 1\. List commands - +.RE lightning-cli help +.RS +.IP 1\. +Fund a 10k sat channel using uncomfirmed outputs + +.RE + +lightning-cli --keywords fundchannel id=028f\.\.\.ae7d amount=10000sat minconf=0 + .SH BUGS This manpage documents how it should work, not how it does work\. The @@ -124,4 +138,4 @@ Main web site: \fIhttps://github.com/ElementsProject/lightning\fR Note: the modules in the ccan/ directory have their own licenses, but the rest of the code is covered by the BSD-style MIT license\. -\" SHA256STAMP:b626a2499bd231acc33bf1c279c62de2a7ad2046c6c63965b97f74ec4e861365 +\" SHA256STAMP:95f9c48c35817ea601ba35006c8400c52da372ffbe725ff1fa6feec9ced3229f diff --git a/wallet/db_postgres_sqlgen.c b/wallet/db_postgres_sqlgen.c index de5f02519..6c4c34d7f 100644 --- a/wallet/db_postgres_sqlgen.c +++ b/wallet/db_postgres_sqlgen.c @@ -1786,4 +1786,4 @@ struct db_query db_postgres_queries[] = { #endif /* LIGHTNINGD_WALLET_GEN_DB_POSTGRES */ -// SHA256STAMP:d99c7d86df2c57de4dad0ae207bb71ac7245e1beb3bee1066ab5d947db9b1e5c +// SHA256STAMP:cfcc8729b714d7182b2d3f99b83475d4c8b7f489527b1f7ec3c9e2734281315e diff --git a/wallet/db_sqlite3_sqlgen.c b/wallet/db_sqlite3_sqlgen.c index 7e70f3401..d37387401 100644 --- a/wallet/db_sqlite3_sqlgen.c +++ b/wallet/db_sqlite3_sqlgen.c @@ -1786,4 +1786,4 @@ struct db_query db_sqlite3_queries[] = { #endif /* LIGHTNINGD_WALLET_GEN_DB_SQLITE3 */ -// SHA256STAMP:d99c7d86df2c57de4dad0ae207bb71ac7245e1beb3bee1066ab5d947db9b1e5c +// SHA256STAMP:cfcc8729b714d7182b2d3f99b83475d4c8b7f489527b1f7ec3c9e2734281315e diff --git a/wallet/statements_gettextgen.po b/wallet/statements_gettextgen.po index 664430b49..bf993cf75 100644 --- a/wallet/statements_gettextgen.po +++ b/wallet/statements_gettextgen.po @@ -1177,4 +1177,4 @@ msgstr "" #: wallet/test/run-wallet.c:1395 msgid "INSERT INTO channels (id) VALUES (1);" msgstr "" -# SHA256STAMP:878611b064230015bd80f43f4d7acde6bbf1c468da09bc8621898ff6718308e6 +# SHA256STAMP:7a83d3c7f4e993fdc879765848b8da71c044de5afca4f1fa37cf3ca8e0031ed2