Skip to content

Commit 73f94d5

Browse files
authored
Unhides --accounts-db-access-storages-method (solana-labs#3588)
1 parent 3fce80f commit 73f94d5

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Release channels have their own copy of this changelog:
1717
* Changes
1818
* CLI:
1919
* Add global `--skip-preflight` option for skipping preflight checks on all transactions sent through RPC. This flag, along with `--use-rpc`, can improve success rate with program deployments using the public RPC nodes.
20+
* Unhide `--accounts-db-access-storages-method` for agave-validator and agave-ledger-tool
2021

2122
## [2.1.0]
2223
* Breaking:

ledger-tool/src/args.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ pub fn accounts_db_args<'a, 'b>() -> Box<[Arg<'a, 'b>]> {
126126
.value_name("METHOD")
127127
.takes_value(true)
128128
.possible_values(&["mmap", "file"])
129-
.help("Access account storage using this method")
130-
.hidden(hidden_unless_forced()),
129+
.help("Access account storages using this method"),
131130
Arg::with_name("accounts_db_experimental_accumulator_hash")
132131
.long("accounts-db-experimental-accumulator-hash")
133132
.help("Enables the experimental accumulator hash")

validator/src/cli.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,7 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
13581358
.value_name("METHOD")
13591359
.takes_value(true)
13601360
.possible_values(&["mmap", "file"])
1361-
.help("Access account storage using this method")
1362-
.hidden(hidden_unless_forced()),
1361+
.help("Access account storages using this method")
13631362
)
13641363
.arg(
13651364
Arg::with_name("accounts_db_ancient_append_vecs")

0 commit comments

Comments
 (0)