diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-07 14:26:46 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-07 15:38:54 +0200 |
commit | 51b70e647230fb6df95dd3b0d35ce77409e73afb (patch) | |
tree | 33d458bce8c87e5adebf8fae64408a48468ecd27 /src/cli.rs | |
parent | 037275412fb72a27c8bb0347d047e1a2b65e0569 (diff) |
Add package filtering for "db jobs" subcommand
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -303,6 +303,16 @@ pub fn cli<'a>() -> App<'a> { .about("Only show jobs from ENDPOINT") ) + .arg(Arg::new("package") + .required(false) + .multiple(false) + .long("package") + .short('p') + .takes_value(true) + .value_name("PKG") + .about("Only show jobs for PKG") + ) + ) .subcommand(App::new("job") |