Skip to content

Commit 8092703

Browse files
darosiorrustyrussell
authored andcommitted
doc/manpages: replace asciidoc by markdown
1 parent 3f29216 commit 8092703

File tree

70 files changed

+3100
-2191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+3100
-2191
lines changed

doc/lightning-autocleaninvoice.7.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
LIGHTNING-AUTOCLEANINVOICE(7) Manual Page
2+
=========================================
3+
lightning-autocleaninvoice - Set up auto-delete of expired invoice
4+
5+
SYNOPSIS
6+
--------
7+
8+
**autocleaninvoice** \[*cycle\_seconds*\] \[*expired\_by*\]
9+
10+
DESCRIPTION
11+
-----------
12+
13+
The **autocleaninvoice** RPC command sets up automatic cleaning of
14+
expired invoices.
15+
16+
Autoclean will be done every *cycle\_seconds* seconds. Setting
17+
*cycle\_seconds* to 0 disables autoclean. If not specified, this
18+
defaults to 3600 (one hour).
19+
20+
Every autoclean cycle, expired invoices, which have already been expired
21+
for at least *expired\_by* seconds, will be deleted. If *expired\_by* is
22+
not specified, this defaults to 86400 (one day).
23+
24+
On startup of the daemon, no autoclean is set up.
25+
26+
RETURN VALUE
27+
------------
28+
29+
On success, an empty object is returned.
30+
31+
AUTHOR
32+
------
33+
34+
ZmnSCPxj <<[email protected]>> is mainly responsible.
35+
36+
SEE ALSO
37+
--------
38+
39+
lightning-delexpiredinvoice(7), lightning-delinvoice(7)
40+
41+
RESOURCES
42+
---------
43+
44+
Main web site: <https://github.com/ElementsProject/lightning>
45+
46+
------------------------------------------------------------------------
47+
48+
Last updated 2019-04-07 14:23:17 CEST

doc/lightning-autocleaninvoice.7.txt

-42
This file was deleted.

doc/lightning-check.7.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
LIGHTNING-CHECK(7) Manual Page
2+
==============================
3+
lightning-check - Command for verifying parameters
4+
5+
SYNOPSIS
6+
--------
7+
8+
**check** *command\_to\_check* \[*parameters*\]
9+
10+
DESCRIPTION
11+
-----------
12+
13+
The **check** RPC command verifies another command’s parameters without
14+
running it.
15+
16+
The *command\_to\_check* is the name of the relevant command.
17+
18+
*parameters* is the command’s parameters.
19+
20+
This does not guarantee successful execution of the command in all
21+
cases. For example, a call to lightning-getroute(7) may still fail to
22+
find a route even if checking the parameters succeeds.
23+
24+
RETURN VALUE
25+
------------
26+
27+
On success, the *command\_to\_check* is returned. On failure, the
28+
relevant RPC error is returned.
29+
30+
AUTHOR
31+
------
32+
33+
Mark Beckwith <<[email protected]>> and Rusty Russell
34+
<<[email protected]>> are mainly responsible.
35+
36+
RESOURCES
37+
---------
38+
39+
Main web site: <https://github.com/ElementsProject/lightning>
40+
41+
------------------------------------------------------------------------
42+
43+
Last updated 2019-04-30 17:12:10 CEST

doc/lightning-check.7.txt

-37
This file was deleted.

doc/lightning-cli.1.md

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
LIGHTNING-CLI(1) Manual Page
2+
============================
3+
lightning-cli - Control lightning daemon
4+
5+
SYNOPSIS
6+
--------
7+
8+
**lightning-cli** \[*OPTIONS*\] *command*
9+
10+
DESCRIPTION
11+
-----------
12+
13+
**lightning-cli** sends commands to the lightning daemon.
14+
15+
OPTIONS
16+
-------
17+
18+
**--lightning-dir**=*DIR*
19+
Set the directory for the lightning daemon we’re talking to; defaults to
20+
*$HOME/.lightning*.
21+
22+
**--rpc-file**=*FILE*
23+
Named pipe to use to talk to lightning daemon: default is
24+
*lightning-rpc* in the lightning directory.
25+
26+
**--keywords**/**-k**
27+
Use format *key*=*value* for parameters in any order
28+
29+
**--order**/**-o**
30+
Follow strictly the order of parameters for the command
31+
32+
**--json**/**-J**
33+
Return result in JSON format (default unless *help* command)
34+
35+
**--raw**/**-R**
36+
Return raw JSON directly as lightningd replies
37+
38+
**--human-readable**/**-H**
39+
Return result in human-readable output (default for *help* command)
40+
41+
**--help**/**-h**
42+
Print summary of options to standard output and exit.
43+
44+
**--version**/**-V**
45+
Print version number to standard output and exit.
46+
47+
COMMANDS
48+
--------
49+
50+
*lightning-cli* simply uses the JSON RPC interface to talk to
51+
*lightningd*, and prints the results. Thus the commands available depend
52+
entirely on the lightning daemon itself.
53+
54+
ARGUMENTS
55+
---------
56+
57+
Arguments may be provided positionally or using *key*=*value* after the
58+
command name, based on either **-o** or **-k** option. Arguments may be
59+
integer numbers (composed entirely of digits), floating-point numbers
60+
(has a radix point but otherwise composed of digits), *true*, *false*,
61+
or *null*. Other arguments are treated as strings.
62+
63+
Some commands have optional arguments. You may use *null* to skip
64+
optional arguments to provide later arguments.
65+
66+
EXAMPLES
67+
--------
68+
69+
Example 1. List commands
70+
71+
lightning-cli help
72+
73+
BUGS
74+
----
75+
76+
This manpage documents how it should work, not how it does work. The
77+
pretty printing of results isn’t pretty.
78+
79+
AUTHOR
80+
------
81+
82+
Rusty Russell <<[email protected]>> is mainly to blame.
83+
84+
RESOURCES
85+
---------
86+
87+
Main web site: <https://github.com/ElementsProject/lightning>
88+
89+
COPYING
90+
-------
91+
92+
Note: the modules in the ccan/ directory have their own licenses, but
93+
the rest of the code is covered by the BSD-style MIT license.
94+
95+
------------------------------------------------------------------------
96+
97+
Last updated 2019-04-30 17:39:53 CEST

doc/lightning-cli.1.txt

-83
This file was deleted.

0 commit comments

Comments
 (0)