diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-02 07:03:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-09-02 07:03:06 +0200 |
commit | 724616693d9aec2e3b9a1c150896d8bdc0bfbfd1 (patch) | |
tree | c9a4a328198a43ff961bddb7eb7a2272f0183138 | |
parent | c6172c0238b7f5234e775f012b9395904cbd8d1e (diff) |
Fix bug in cli module diagnostics
-rw-r--r-- | build2/cli/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cli/init.cxx b/build2/cli/init.cxx index b7a8434..c14f7cf 100644 --- a/build2/cli/init.cxx +++ b/build2/cli/init.cxx @@ -86,7 +86,7 @@ namespace build2 // auto test = [optional, &pp] (const path& cli) -> string { - const char* args[] = {nullptr, "--version", nullptr}; + const char* args[] = {cli.string ().c_str (), "--version", nullptr}; try { |