aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 61b3d39..5cd8285 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -36,14 +36,21 @@ pub enum Commands {
/// View Registered data
View {
- /// Filter history data (only works with -H)
- filter: Option<String>,
+ /// Filter registers by agent
+ agent: Option<String>,
+
/// View register history
#[arg(short='H', long, conflicts_with = "total")]
history: bool,
- /// Transaction accumulation by person
+
+ /// Sum registers by agent
#[arg(short, long, conflicts_with = "history")]
- total: bool
+ total: bool,
+
+ /// Filter registers by note (sql match syntax)
+ #[arg(short='n', long)]
+ filter_note: Option<String>,
+
},
/// Add, update or remove an agent
Feel free to download, copy and edit any repo