summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cli.rs b/src/cli.rs
index cdf35d3..a8b0cc1 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -390,23 +390,23 @@ pub fn cli<'a>() -> App<'a> {
.arg(arg_older_than_date("List only releases older than DATE"))
.arg(arg_newer_than_date("List only releases newer than DATE"))
- .arg(Arg::new("package_name_regex")
+ .arg(Arg::new("store")
.required(false)
.multiple(false)
- .long("pkg")
- .short('p')
+ .long("to")
.takes_value(true)
- .value_name("REGEX")
- .about("Limit search with package name matching REGEX")
+ .value_name("STORE")
+ .about("List only releases to STORE")
)
- .arg(Arg::new("package_version_constraint")
+
+ .arg(Arg::new("package")
.required(false)
.multiple(false)
- .long("version")
- .short('v')
+ .long("package")
+ .short('p')
.takes_value(true)
- .value_name("VERSION_CONSTRAINT")
- .about("Limit search for package in version VERSION")
+ .value_name("PKG")
+ .about("Only list releases for package PKG")
)
)
)