diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-04-09 11:33:07 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-09 12:05:55 +0200 |
commit | 56a0036cb55fad022c05b961563b46d1c284e02d (patch) | |
tree | 1b17b0075544a1490581b3339c14e315c08ebce0 | |
parent | 7e84da5fef77ffaa1b7462b7eb647e48d8c5613c (diff) |
Fix: clap value querying should match CLI spec
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r-- | src/commands/db.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs index a8d8b3c..5961c77 100644 --- a/src/commands/db.rs +++ b/src/commands/db.rs @@ -323,7 +323,7 @@ fn jobs(conn_cfg: DbConnectionConfig, matches: &ArgMatches) -> Result<()> { // // If we get a filter for environment on CLI, we fetch all job ids that are associated with the // passed environment variables and make `sel` filter for those. - let sel = if let Some((name, val)) = matches.value_of("filter_env").map(crate::util::env::parse_to_env).transpose()? { + let sel = if let Some((name, val)) = matches.value_of("env_filter").map(crate::util::env::parse_to_env).transpose()? { let jids = schema::envvars::table .filter({ use crate::diesel::BoolExpressionMethods; |