aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-21 09:28:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-21 09:28:52 +0200
commit6fed384f9bdc86fa9bb13d87753d14a886f4f87e (patch)
tree67c10caec6871102551c74956dd9346fa80f234d /bpkg/pkg-status.cxx
parent108c54f8ae62453a76d05e31ad477efd3559e65a (diff)
Add support for held packages, package versions
Diffstat (limited to 'bpkg/pkg-status.cxx')
-rw-r--r--bpkg/pkg-status.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx
index 7894c49..2f0bf7f 100644
--- a/bpkg/pkg-status.cxx
+++ b/bpkg/pkg-status.cxx
@@ -100,6 +100,12 @@ namespace bpkg
if (v.empty ())
cout << " " << p->version;
+ if (p->hold_package)
+ cout << " hold_package";
+
+ if (p->hold_version)
+ cout << " hold_version";
+
found = true;
}