Skip to content

Commit

Permalink
ledger-tool: Switch subcommand dispatch from if-else to match (solana…
Browse files Browse the repository at this point in the history
…-labs#34644)

A future change will add more cases to this if-else if-...-else chain.
Using a match statement will be easier to follow then a very long
if-else if-... chain.

This change was broken out in order to have a higher signal to noise
ratio in the subsequent change.
  • Loading branch information
steviez authored Jan 4, 2024
1 parent 917e242 commit 744c2cb
Showing 1 changed file with 1,635 additions and 1,547 deletions.
Loading

0 comments on commit 744c2cb

Please sign in to comment.