aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-command.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-command.cxx')
-rw-r--r--bpkg/pkg-command.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx
index 67ea07a..253ee66 100644
--- a/bpkg/pkg-command.cxx
+++ b/bpkg/pkg-command.cxx
@@ -39,7 +39,7 @@ namespace bpkg
run_b (bspec);
}
- void
+ int
pkg_command (const string& cmd,
const configuration_options& o,
cli::scanner& args)
@@ -75,5 +75,7 @@ namespace bpkg
if (verb)
text << cmd << (cmd.back () != 'e' ? "ed " : "d ")
<< p->name << " " << p->version;
+
+ return 0;
}
}