Commit c3a79641 authored by David Renshaw's avatar David Renshaw

fix help message in capnpc-c++

parent b2198041
...@@ -172,11 +172,10 @@ public: ...@@ -172,11 +172,10 @@ public:
CapnpcCppMain(kj::ProcessContext& context): context(context) {} CapnpcCppMain(kj::ProcessContext& context): context(context) {}
kj::MainFunc getMain() { kj::MainFunc getMain() {
return kj::MainBuilder(context, "Cap'n Proto loopback plugin version " VERSION, return kj::MainBuilder(context, "Cap'n Proto C++ plugin version " VERSION,
"This is a Cap'n Proto compiler plugin which \"de-compiles\" the schema back into " "This is a Cap'n Proto compiler plugin which generates C++ code. "
"Cap'n Proto schema language format, with comments showing the offsets chosen by the " "It is meant to be run using the Cap'n Proto compiler, e.g.:\n"
"compiler. This is meant to be run using the Cap'n Proto compiler, e.g.:\n" " capnp compile -oc++ foo.capnp")
" capnp compile -ocapnp foo.capnp")
.callAfterParsing(KJ_BIND_METHOD(*this, run)) .callAfterParsing(KJ_BIND_METHOD(*this, run))
.build(); .build();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment