diff options
Diffstat (limited to 'src/parser.rs')
| -rw-r--r-- | src/parser.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/parser.rs b/src/parser.rs index ce5ca93..6802ceb 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,6 +1,6 @@ -use clap::{App, Arg, ArgMatches, SubCommand}; +use clap::{App, Arg, SubCommand}; -pub fn get_matches<'a>(version: &str) -> ArgMatches<'a> { +pub fn get_app<'a, 'b>(version: &'a str) -> App<'a, 'b> { App::new("podcast") .version(version) .author("Nathan J. <njaremko@gmail.com>") @@ -133,5 +133,4 @@ pub fn get_matches<'a>(version: &str) -> ArgMatches<'a> { .index(1), ), ) - .get_matches() } |
