Convert package flag to an argument

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-12-08 13:11:04 +05:30
parent f45570a47d
commit 285bd5284e
No known key found for this signature in database
GPG Key ID: C2E74282C2133D62
1 changed files with 2 additions and 4 deletions

View File

@ -40,10 +40,8 @@ fn main() {
.about("Notify about the latest happenings in the Google Maven world")
.args(&[
Arg::with_name("package")
.short("p")
.long("package")
.takes_value(true)
.help("Name of package to filter in the results"),
.help("Name of package to filter in the results")
.index(1),
Arg::with_name("detailed")
.short("d")
.long("detail")