Skip to content

Commit

Permalink
Hide unseen from --help (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty authored Mar 2, 2025
1 parent 7a5e938 commit df78d98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ All notable changes to insta and cargo-insta are documented here.
## 1.42.3

- Support other indention characters than spaces in inline snapshots. #679
- Fix an issue where multiple targets with the same root would cause too many pending snapshots to be reported. #730
- Hide `unseen` option in CLI, as it's pending deprecation. #732

## 1.42.2

Expand Down
2 changes: 1 addition & 1 deletion cargo-insta/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct TestCommand {
#[arg(long)]
review: bool,
/// Accept all new (previously unseen).
#[arg(long)]
#[arg(long, hide = true)]
accept_unseen: bool,
/// Do not reject pending snapshots before run (deprecated).
#[arg(long, hide = true)]
Expand Down

0 comments on commit df78d98

Please sign in to comment.