From 38b4151b84196f6fee085f7a95eeb38be6cc628c Mon Sep 17 00:00:00 2001 From: Mario Krehl Date: Sat, 14 Apr 2018 11:56:17 +0200 Subject: [PATCH] Fix: macro call build_subcommand --- bin/core/imag/build.rs | 44 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/bin/core/imag/build.rs b/bin/core/imag/build.rs index b079d777..0baefdbb 100644 --- a/bin/core/imag/build.rs +++ b/bin/core/imag/build.rs @@ -86,28 +86,28 @@ fn main() { &version!()[..], "imag") // and add all the subapps as subcommands. - .subcommand(build_ui!("annotate", imagannotate)) - .subcommand(build_ui!("diagnostics", imagdiagnostics)) - .subcommand(build_ui!("edit", imagedit)) - .subcommand(build_ui!("gps", imaggps)) - .subcommand(build_ui!("grep", imaggrep)) - .subcommand(build_ui!("ids", imagids)) - .subcommand(build_ui!("init", imaginit)) - .subcommand(build_ui!("link", imaglink)) - .subcommand(build_ui!("mv", imagmv)) - .subcommand(build_ui!("ref", imagref)) - .subcommand(build_ui!("store", imagstore)) - .subcommand(build_ui!("tag", imagtag)) - .subcommand(build_ui!("view", imagview)) - .subcommand(build_ui!("bookmark", imagbookmark)) - .subcommand(build_ui!("contact", imagcontact)) - .subcommand(build_ui!("diary", imagdiary)) - .subcommand(build_ui!("habit", imaghabit)) - .subcommand(build_ui!("log", imaglog)) - .subcommand(build_ui!("mail", imagmail)) - .subcommand(build_ui!("notes", imagnotes)) - .subcommand(build_ui!("timetrack", imagtimetrack)) - .subcommand(build_ui!("todo", imagtodo)); + .subcommand(build_subcommand!("annotate", imagannotate)) + .subcommand(build_subcommand!("diagnostics", imagdiagnostics)) + .subcommand(build_subcommand!("edit", imagedit)) + .subcommand(build_subcommand!("gps", imaggps)) + .subcommand(build_subcommand!("grep", imaggrep)) + .subcommand(build_subcommand!("ids", imagids)) + .subcommand(build_subcommand!("init", imaginit)) + .subcommand(build_subcommand!("link", imaglink)) + .subcommand(build_subcommand!("mv", imagmv)) + .subcommand(build_subcommand!("ref", imagref)) + .subcommand(build_subcommand!("store", imagstore)) + .subcommand(build_subcommand!("tag", imagtag)) + .subcommand(build_subcommand!("view", imagview)) + .subcommand(build_subcommand!("bookmark", imagbookmark)) + .subcommand(build_subcommand!("contact", imagcontact)) + .subcommand(build_subcommand!("diary", imagdiary)) + .subcommand(build_subcommand!("habit", imaghabit)) + .subcommand(build_subcommand!("log", imaglog)) + .subcommand(build_subcommand!("mail", imagmail)) + .subcommand(build_subcommand!("notes", imagnotes)) + .subcommand(build_subcommand!("timetrack", imagtimetrack)) + .subcommand(build_subcommand!("todo", imagtodo)); // Actually generates the completion files app.gen_completions("imag", Shell::Bash, "../../../target/shell-completions.d/");