Skip to content

Commit

Permalink
refactor(cmd): remove short flags for forest-wallet commands (#5277)
Browse files Browse the repository at this point in the history
  • Loading branch information
akaladarshi authored Feb 13, 2025
1 parent a2ba605 commit 47bc848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
### Changed

- [#5237](https://github.com/ChainSafe/forest/pull/5237) Stylistic changes to FIL pretty printing.
- [#4261](https://github.com/ChainSafe/forest/issues/4261) Remove the short flags from `forest-wallet list` and `forest-wallet balance` commands.

### Removed

Expand Down
8 changes: 4 additions & 4 deletions src/wallet/subcommands/wallet_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ pub enum WalletCommands {
/// Output is rounded to 4 significant figures by default.
/// Do not round
// ENHANCE(aatifsyed): add a --round/--no-round argument pair
#[arg(long, alias = "exact-balance", short_alias = 'e')]
#[arg(long, alias = "exact-balance")]
no_round: bool,
/// Output may be given an SI prefix like `atto` by default.
/// Do not do this, showing whole FIL at all times.
#[arg(long, alias = "fixed-unit", short_alias = 'f')]
#[arg(long, alias = "fixed-unit")]
no_abbrev: bool,
},
/// Get the default address of the wallet
Expand All @@ -240,11 +240,11 @@ pub enum WalletCommands {
/// Output is rounded to 4 significant figures by default.
/// Do not round
// ENHANCE(aatifsyed): add a --round/--no-round argument pair
#[arg(long, alias = "exact-balance", short_alias = 'e')]
#[arg(long, alias = "exact-balance")]
no_round: bool,
/// Output may be given an SI prefix like `atto` by default.
/// Do not do this, showing whole FIL at all times.
#[arg(long, alias = "fixed-unit", short_alias = 'f')]
#[arg(long, alias = "fixed-unit")]
no_abbrev: bool,
},
/// Set the default wallet address
Expand Down

0 comments on commit 47bc848

Please sign in to comment.