diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-08-17 12:10:58 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-08-17 12:11:01 +0200 |
commit | 9138cbd334115c2e649355bfef497b08c055948b (patch) | |
tree | a16370997d52a0a4157029f937ea3997629a3ade /src/cli.rs | |
parent | 2d4945938be440411e43c3440a368df0f70e5810 (diff) |
Add option to get submits for a specific commit
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -247,6 +247,14 @@ pub fn cli<'a>() -> App<'a> { .value_name("LIMIT") .about("Only list LIMIT submits") ) + .arg(Arg::new("for-commit") + .required(true) + .multiple(false) + .long("commit") + .takes_value(true) + .value_name("HASH") + .about("Limit listed submits to one commit hash") + ) ) .subcommand(App::new("jobs") |