Add debug output

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2019-07-25 19:53:41 +02:00
parent 9c896eb98b
commit 1196f5395d

View file

@ -54,6 +54,8 @@ fn main() {
build_ui); build_ui);
let wiki_name = rt.cli().value_of("wikiname").unwrap_or("default"); let wiki_name = rt.cli().value_of("wikiname").unwrap_or("default");
trace!("wiki_name = {}", wiki_name);
trace!("calling = {:?}", rt.cli().subcommand_name());
match rt.cli().subcommand_name() { match rt.cli().subcommand_name() {
Some("ids") => ids(&rt, wiki_name), Some("ids") => ids(&rt, wiki_name),