diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-12-01 14:09:32 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-12-01 14:09:32 +0100 |
commit | 7d340bb52727b4118fe5e0f3f81d39227ff694e2 (patch) | |
tree | 9c0483bab30f80f4beafc66391772a06b40c2c66 /bin/domain/imag-todo/src/ui.rs | |
parent | c2d4ec5fefe5de8871d974e7dd61af0fa618ae91 (diff) | |
parent | e3b49010047fbccf0649659dc0161f444a07e7ec (diff) |
Merge branch 'imag-todo/format-output' into master
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/domain/imag-todo/src/ui.rs')
-rw-r--r-- | bin/domain/imag-todo/src/ui.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/domain/imag-todo/src/ui.rs b/bin/domain/imag-todo/src/ui.rs index 8ed92dba..0b55b2aa 100644 --- a/bin/domain/imag-todo/src/ui.rs +++ b/bin/domain/imag-todo/src/ui.rs @@ -138,6 +138,14 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { ) .subcommand(SubCommand::with_name("show") + .arg(Arg::with_name("format") + .long("format") + .short("F") + .takes_value(true) + .required(false) + .help("Output format string") + ) + .arg(Arg::with_name("todos") .index(1) .takes_value(true) |