aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-25 07:10:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-25 07:10:57 +0200
commit287c71ddc00f0db1436d557042b69c03dc448b13 (patch)
tree824d66203c59530b856151c94c4bd322eff28562 /bpkg/bpkg.cxx
parent5ab55b3efa7be536af146c778ebe457462a886a6 (diff)
Add support for fetching remote repositories
Wget, curl, and (FreeBSD) fetch are supported.
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r--bpkg/bpkg.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index ef74144..75684cb 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -10,6 +10,7 @@
#include <bpkg/diagnostics>
#include <bpkg/bpkg-options>
+#include <bpkg/bpkg-version>
// Commands.
//
@@ -72,7 +73,8 @@ try
if (bo.version ())
{
- cout << "bpkg 0.0.0" << endl
+ cout << "bpkg " << BPKG_VERSION_STR << "; " <<
+ "libbpkg " << LIBBPKG_VERSION_STR << endl
<< "Copyright (c) 2014-2015 Code Synthesis Ltd" << endl
<< "This is free software released under the MIT license." << endl;
return 0;