Skip to content

Commit db76231

Browse files
committed
refactor help menu
1 parent 930c6b0 commit db76231

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

docs/participate/run-nodes/mytonctrl.mdx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -447,12 +447,12 @@ MyTonCtrl> db <bookmark-name> <bookmark-type>
447447
448448
Show offers list
449449
450-
| Format name | Format | Example | Description |
451-
|--------------------|---------------------------------------------|--------------------------------------------|----------------------------------------------------------------------------------------------------|
452-
| No arguments | `[]` | `PrintOffersList(ton, [])` | Prints the table with the hashes reduced. |
453-
| JSON output | `["--json"]` | `PrintOffersList(ton, ["--json"])` | Prints the JSON representation of `data`. |
454-
| Full hash output | `["hash"]` | `PrintOffersList(ton, ["hash"])` | Prints the table with full hashes. |
455-
| JSON with full hash| `["--json", "hash"]` | `PrintOffersList(ton, ["--json", "hash"])` | Prints the JSON representation of `data`. The `"hash"` argument has no effect in this case. |
450+
| Format name | Format | Description |
451+
|--------------------|------------------|----------------------------------------------------------------------------------------------------|
452+
| No arguments | `ol` | Prints the table with the hashes reduced. |
453+
| JSON output | `ol --json` | Prints the JSON representation of `data`. |
454+
| Full hash output | `ol hash` | Prints the table with full hashes. |
455+
| JSON with full hash| `ol --json hash` | Prints the JSON representation of `data`. The `"hash"` argument has no effect in this case. |
456456
457457
### od
458458
@@ -466,10 +466,10 @@ MyTonCtrl> od [offer-hash]
466466
467467
Show election entries list
468468
469-
| Format name | Format | Description |
470-
|-----------------------------------|--------------------------------------------------|--------------------------------------------------------------------------------|
471-
| No arguments | `[]` | Prints the table with ADNL, Pubkey, and Wallet reduced. |
472-
| Any combination of following args | `["--json", "adnl", "pubkey", "wallet", "past"]` | Full ADNL, Pubkey, Wallet, and past election entries in JSON representation. |
469+
| Format name | Format | Description |
470+
|-----------------------------------|-------------------------------------|--------------------------------------------------------------------------------|
471+
| No arguments | `el` | Prints the table with ADNL, Pubkey, and Wallet reduced. |
472+
| Any combination of following args | `el --json adnl pubkey wallet past` | Full ADNL, Pubkey, Wallet, and past election entries in JSON representation. |
473473
474474
Descriptions for each arg:
475475
- --json: Prints the JSON representation of data.
@@ -482,10 +482,10 @@ Descriptions for each arg:
482482
483483
Show active validators
484484
485-
| Format name | Format | Description |
486-
|------------------------------------|--------------------------------------------------|--------------------------------------------------------------------------------|
487-
| No arguments | `[]` | Prints the table with ADNL, Pubkey, and Wallet reduced. |
488-
| Any combination of following args | `["--json", "adnl", "pubkey", "wallet", "past"]` | Full ADNL, Pubkey, Wallet, and past validator entries in JSON representation. |
485+
| Format name | Format | Description |
486+
|------------------------------------|----------------------------------------|--------------------------------------------------------------------------------|
487+
| No arguments | `vl` | Prints the table with ADNL, Pubkey, and Wallet reduced. |
488+
| Any combination of following args | `vl --json adnl pubkey wallet past` | Full ADNL, Pubkey, Wallet, and past validator entries in JSON representation. |
489489
490490
Descriptions for each arg:
491491
- --json: Prints the JSON representation of data.
@@ -499,10 +499,10 @@ Descriptions for each arg:
499499
500500
Show complaints list
501501
502-
| Format name | Format | Description |
503-
|-----------------------------------|--------------------------------------------|------------------------------------------------------------------------------------------------------------------|
504-
| No arguments | `[]` | Prints the table with ADNL reduced. |
505-
| Any combination of following args | `["--json", "adnl", "past"]` | Full ADNL with past complaints in JSON representation. |
502+
| Format name | Format | Description |
503+
|-----------------------------------|-----------------------|------------------------------------------------------------------------------------------------------------------|
504+
| No arguments | `cl` | Prints the table with ADNL reduced. |
505+
| Any combination of following args | `cl --json adnl past` | Full ADNL with past complaints in JSON representation. |
506506
507507
Descriptions for each parameter:
508508
- --json: Prints the JSON representation of data.

0 commit comments

Comments
 (0)