diff options
Diffstat (limited to 'src/parser.rs')
| -rw-r--r-- | src/parser.rs | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/src/parser.rs b/src/parser.rs index caae070..743da6d 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -83,6 +83,18 @@ pub fn get_app<'a, 'b>(version: &'a str) -> App<'a, 'b> {                      Arg::with_name("debug")                          .short("d")                          .help("print debug information verbosely"), +                ) +                .arg( +                    Arg::with_name("PODCAST") +                        .help("Regex for subscribed podcast") +                        .required(true) +                        .index(1), +                ) +                .arg( +                    Arg::with_name("EPISODE") +                        .help("Episode index") +                        .required(false) +                        .index(2),                  ),          )          .subcommand( | 
