diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-07 15:22:39 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-06-07 15:53:50 +0200 |
commit | c0609a050da45bdb93fbb5f2ad28055e1343c08f (patch) | |
tree | 588cb8e72ca89266d18bfeb611c3ed500e39aeed /src/cli.rs | |
parent | 810cc1c8281be8437ae0fd6257b2ea6190fe8d24 (diff) |
Add flag to filter releases by store
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/cli.rs')
-rw-r--r-- | src/cli.rs | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -408,6 +408,15 @@ pub fn cli<'a>() -> App<'a> { .value_name("VERSION_CONSTRAINT") .about("Limit search for package in version VERSION") ) + + .arg(Arg::new("store") + .required(false) + .multiple(false) + .long("to") + .takes_value(true) + .value_name("STORE") + .about("List only releases to STORE") + ) ) ) |