Skip to content

Commit

Permalink
Change expr_file short option from -f to -F (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagner84 authored Jul 10, 2023
1 parent fb7b87a commit a4a428d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* #643 Print more helpful error message on `ParsePicaError`
* #653 Don't require filter argument when an expression file is given
* #654 Change `expr_file` short option from `-f` to `-F`

### Removed

Expand Down
2 changes: 1 addition & 1 deletion pica-toolkit/src/commands/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub(crate) struct Filter {
///
/// Note: Do not provide an additional filter expression as an CLI
/// argument!
#[arg(long = "file", short = 'f')]
#[arg(long = "file", short = 'F')]
expr_file: Option<PathBuf>,

/// Ignore records which are *not* explicitly listed in one of the
Expand Down
2 changes: 1 addition & 1 deletion pica-toolkit/tests/snapshot/filter/0204-filter-file-f.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bin.name = "pica"
args = "filter -f filter.txt"
args = "filter -F filter.txt"
status = "success"
stdout = ""
stderr = ""
2 changes: 1 addition & 1 deletion pica-toolkit/tests/snapshot/filter/0204-filter-file-t.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bin.name = "pica"
args = "filter -f filter.txt"
args = "filter -F filter.txt"
status = "success"
stderr = ""

0 comments on commit a4a428d

Please sign in to comment.