forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ledger-tool: Condense ProcessOptions parsing logic (solana-labs#34694)
The code to parse process options was repeated in several (8) commands that replay block processing. So, move the argument parsing into a common helper that can be used by all of those commands.
- Loading branch information
steviez
authored
Jan 11, 2024
1 parent
8e29436
commit a203f14
Showing
4 changed files
with
106 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.