summaryrefslogtreecommitdiffstats
path: root/cli/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/main.rs')
-rw-r--r--cli/src/main.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs
index bf19f29..7b5f9e2 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -128,14 +128,11 @@ fn main() {
store.write().unwrap();
}
Command::List {
- target: ListTarget::Categories
+ target: ListTarget::Categories,
} => {
println!("{}", store.categories().join("\n"));
}
- Command::Show {
- sort,
- filters,
- } => {
+ Command::Show { sort, filters } => {
let mut search = Search::new(&store.transactions());
if !filters.is_empty() {
let filters = parse_filters(&filters.join(" "));