From 62f7bac363782f36b5f29b6c6dfd2f3ff137410e Mon Sep 17 00:00:00 2001 From: 9547 <29431502+9547@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:41:10 +0800 Subject: [PATCH] book: update cli Signed-off-by: 9547 <29431502+9547@users.noreply.github.com> --- book/cli/reth/db.md | 2 +- book/cli/reth/db/clear/static-file.md | 5 +---- book/cli/reth/db/get/static-file.md | 5 +---- book/cli/reth/debug/build-block.md | 2 +- book/cli/reth/debug/execution.md | 2 +- book/cli/reth/debug/in-memory-merkle.md | 2 +- book/cli/reth/debug/merkle.md | 2 +- book/cli/reth/debug/replay-engine.md | 2 +- book/cli/reth/import.md | 2 +- book/cli/reth/init-state.md | 2 +- book/cli/reth/init.md | 2 +- book/cli/reth/node.md | 2 +- book/cli/reth/p2p.md | 2 +- book/cli/reth/prune.md | 2 +- book/cli/reth/recover/storage-tries.md | 2 +- book/cli/reth/stage/drop.md | 2 +- book/cli/reth/stage/dump.md | 2 +- book/cli/reth/stage/run.md | 2 +- book/cli/reth/stage/unwind.md | 2 +- 19 files changed, 19 insertions(+), 25 deletions(-) diff --git a/book/cli/reth/db.md b/book/cli/reth/db.md index 5bece3e31f73..9e3b32cc0b39 100644 --- a/book/cli/reth/db.md +++ b/book/cli/reth/db.md @@ -47,7 +47,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/db/clear/static-file.md b/book/cli/reth/db/clear/static-file.md index c830af259c95..edf0f16ff650 100644 --- a/book/cli/reth/db/clear/static-file.md +++ b/book/cli/reth/db/clear/static-file.md @@ -10,10 +10,7 @@ Usage: reth db clear static-file [OPTIONS] Arguments: - Possible values: - - headers: Static File segment responsible for the `CanonicalHeaders`, `Headers`, `HeaderTerminalDifficulties` tables - - transactions: Static File segment responsible for the `Transactions` table - - receipts: Static File segment responsible for the `Receipts` table + Options: --instance diff --git a/book/cli/reth/db/get/static-file.md b/book/cli/reth/db/get/static-file.md index a50da0c0e45d..6f6c0933df87 100644 --- a/book/cli/reth/db/get/static-file.md +++ b/book/cli/reth/db/get/static-file.md @@ -10,10 +10,7 @@ Usage: reth db get static-file [OPTIONS] Arguments: - Possible values: - - headers: Static File segment responsible for the `CanonicalHeaders`, `Headers`, `HeaderTerminalDifficulties` tables - - transactions: Static File segment responsible for the `Transactions` table - - receipts: Static File segment responsible for the `Receipts` table + The key to get content for diff --git a/book/cli/reth/debug/build-block.md b/book/cli/reth/debug/build-block.md index 6676938d2dbe..76ddac306ce2 100644 --- a/book/cli/reth/debug/build-block.md +++ b/book/cli/reth/debug/build-block.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/debug/execution.md b/book/cli/reth/debug/execution.md index c7ffc05e8f34..93864e2d20dc 100644 --- a/book/cli/reth/debug/execution.md +++ b/book/cli/reth/debug/execution.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/debug/in-memory-merkle.md b/book/cli/reth/debug/in-memory-merkle.md index c4814a5f97e5..333048bde6d5 100644 --- a/book/cli/reth/debug/in-memory-merkle.md +++ b/book/cli/reth/debug/in-memory-merkle.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/debug/merkle.md b/book/cli/reth/debug/merkle.md index cdb6d0ff3189..4249d3d08cb4 100644 --- a/book/cli/reth/debug/merkle.md +++ b/book/cli/reth/debug/merkle.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/debug/replay-engine.md b/book/cli/reth/debug/replay-engine.md index 8c1dd3277984..6fe2434af091 100644 --- a/book/cli/reth/debug/replay-engine.md +++ b/book/cli/reth/debug/replay-engine.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/import.md b/book/cli/reth/import.md index ec1b4e6489be..7bd8a0079ec8 100644 --- a/book/cli/reth/import.md +++ b/book/cli/reth/import.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/init-state.md b/book/cli/reth/init-state.md index 611f500198ed..cb221634c40e 100644 --- a/book/cli/reth/init-state.md +++ b/book/cli/reth/init-state.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/init.md b/book/cli/reth/init.md index c632a5d79feb..cc889e5e35aa 100644 --- a/book/cli/reth/init.md +++ b/book/cli/reth/init.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/node.md b/book/cli/reth/node.md index 0438f67ee7e1..722b0ec07c36 100644 --- a/book/cli/reth/node.md +++ b/book/cli/reth/node.md @@ -58,7 +58,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. Networking: diff --git a/book/cli/reth/p2p.md b/book/cli/reth/p2p.md index 5a90786895a0..c3ab3f103fb7 100644 --- a/book/cli/reth/p2p.md +++ b/book/cli/reth/p2p.md @@ -222,7 +222,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. Database: diff --git a/book/cli/reth/prune.md b/book/cli/reth/prune.md index 5a362d673211..e0641256f1c9 100644 --- a/book/cli/reth/prune.md +++ b/book/cli/reth/prune.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/recover/storage-tries.md b/book/cli/reth/recover/storage-tries.md index 6fd6bba3cdca..1f639cb095ae 100644 --- a/book/cli/reth/recover/storage-tries.md +++ b/book/cli/reth/recover/storage-tries.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/stage/drop.md b/book/cli/reth/stage/drop.md index 3deb7f86d760..ae21a8918306 100644 --- a/book/cli/reth/stage/drop.md +++ b/book/cli/reth/stage/drop.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/stage/dump.md b/book/cli/reth/stage/dump.md index 1614fcf4b1e7..291d896902d3 100644 --- a/book/cli/reth/stage/dump.md +++ b/book/cli/reth/stage/dump.md @@ -42,7 +42,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/stage/run.md b/book/cli/reth/stage/run.md index 1ec80064a8e1..3a5589e36ea6 100644 --- a/book/cli/reth/stage/run.md +++ b/book/cli/reth/stage/run.md @@ -35,7 +35,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config diff --git a/book/cli/reth/stage/unwind.md b/book/cli/reth/stage/unwind.md index b0d3bd30080b..122b8dc48c3c 100644 --- a/book/cli/reth/stage/unwind.md +++ b/book/cli/reth/stage/unwind.md @@ -40,7 +40,7 @@ Datadir: [default: default] - --datadir.static_files + --datadir.static-files The absolute path to store static files in. --config