aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Garrelou <simon.garrelou@gmail.com>2023-07-07 18:07:29 +0200
committerSimon Garrelou <simon.garrelou@gmail.com>2023-07-07 18:07:29 +0200
commit2fe796a98e70fca0ffb7a4afac9e6c8ce108b8d4 (patch)
treefa9db8808dd5bde72043fa0d8ec522b56b652d7c
parent12e14bc1f35137864840433e36b66b219a818371 (diff)
downloadrss-2fe796a98e70fca0ffb7a4afac9e6c8ce108b8d4.tar.gz
rss-2fe796a98e70fca0ffb7a4afac9e6c8ce108b8d4.zip
Fix filter date description
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 406eff1..0ee259c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -41,13 +41,15 @@ enum Commands {
41 #[arg(short='v', long)] 41 #[arg(short='v', long)]
42 invert_match: bool, 42 invert_match: bool,
43 43
44 // Keep only items whose link contain this substring
44 #[arg(short, long)] 45 #[arg(short, long)]
45 url: Option<String>, 46 url: Option<String>,
46 47
48 // Keep only items whose title contain this substring
47 #[arg(short, long)] 49 #[arg(short, long)]
48 title: Option<String>, 50 title: Option<String>,
49 51
50 /// RFC- 52 /// Keep only items matching this date. Format: YYYY-MM-DD
51 #[arg(long)] 53 #[arg(long)]
52 date: Option<String> 54 date: Option<String>
53 }, 55 },