Skip to content

Commit

Permalink
SM-1066: Add back the Output option to the help menu in bws (#477)
Browse files Browse the repository at this point in the history
## Type of change

<!-- (mark with an `X`) -->

```
- [ ] Bug fix
- [ ] New feature development
- [x] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other
```

## Objective

<!--Describe what the purpose of this PR is. For example: what bug
you're fixing or what new feature you're adding-->

Add back Output to the help menu in `bws` which was removed in
[this](37428e2)
commit.

## Code changes

<!--Explain the changes you've made to each file or major component.
This should help the reviewer understand your changes-->
<!--Also refer to any related changes or PRs in other repositories-->

- **main.rs:** Unhide Output option to the help menu

## Screenshots

<img width="848" alt="Screenshot 2024-01-05 at 12 05 22"
src="https://github.com/bitwarden/sdk/assets/5691612/5f8de3f2-8506-452d-b652-9ae5bf64963e">

## Before you submit

- Please add **unit tests** where it makes sense to do so (encouraged
but not required)
  • Loading branch information
coltonhurst authored Jan 10, 2024
1 parent fe7bce3 commit f0c384e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bws/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct Cli {
#[command(subcommand)]
command: Option<Commands>,

#[arg(short = 'o', long, global = true, value_enum, default_value_t = Output::JSON, help="Output format", hide = true)]
#[arg(short = 'o', long, global = true, value_enum, default_value_t = Output::JSON, help="Output format")]
output: Output,

#[arg(short = 'c', long, global = true, value_enum, default_value_t = Color::Auto, help="Use colors in the output")]
Expand Down

0 comments on commit f0c384e

Please sign in to comment.