summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-04-09 11:33:07 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-04-27 07:45:50 +0200
commit78c65311313876728ccead6aaa76fdc23e2b22ed (patch)
tree5d66d2d052211e446d669d54dea4561d4ee52fcb
parentf7c487a19f17350ec777c713dbb0b5fb8e0f69cf (diff)
Fix: clap value querying should match CLI spec
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net> Backports: 56a0036cb55fad022c05b961563b46d1c284e02d ("Fix: clap value querying should match CLI spec")
-rw-r--r--src/commands/db.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs
index 0f11837..3a862b0 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -306,7 +306,7 @@ fn jobs(conn_cfg: DbConnectionConfig, matches: &ArgMatches) -> Result<()> {
]);
let conn = crate::db::establish_connection(conn_cfg)?;
let env_filter_tpl = matches
- .value_of("filter_env")
+ .value_of("env_filter")
.map(crate::util::env::parse_to_env)
.transpose()?;