docs: Incorrect params sequence for checkrune command

It accepts rune first and nodeid second but the documentation showed
incorrect sequence.

No-schema-diff-check
This commit is contained in:
Shahana Farooqui 2023-07-24 18:58:13 -07:00 committed by Rusty Russell
parent 11b5f31034
commit f5f496d698
2 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ lightning-checkrune -- Command to Validate Rune
SYNOPSIS
--------
**checkrune** [*nodeid*], [*rune*], [*method*] [*params*]
**checkrune** [*rune*], [*nodeid*], [*method*] [*params*]
DESCRIPTION
-----------

View file

@ -9,6 +9,10 @@
],
"added": "v23.08",
"properties": {
"rune": {
"type": "string",
"description": "rune to check for authorization"
},
"nodeid": {
"type": "string",
"description": "node id of your node"
@ -17,10 +21,6 @@
"type": "string",
"description": "method for which rune needs to be validated"
},
"rune": {
"type": "string",
"description": "rune to check for authorization"
},
"params": {
"oneOf": [
{