Fix: macro call build_subcommand
This commit is contained in:
parent
7e9c25fd63
commit
38b4151b84
1 changed files with 22 additions and 22 deletions
|
@ -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/");
|
||||
|
|
Loading…
Reference in a new issue