aboutsummaryrefslogtreecommitdiff
path: root/bdep/status.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/status.cxx')
-rw-r--r--bdep/status.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/status.cxx b/bdep/status.cxx
index ade5381..814e21b 100644
--- a/bdep/status.cxx
+++ b/bdep/status.cxx
@@ -34,9 +34,15 @@ namespace bdep
"--shallow",
"dir:" + prj.string ());
+ // Don't show the hold status since the only packages that will normally
+ // be held are the project's. But do show dependency constraints.
+ //
run_bpkg (o,
"status",
"-d", cfg,
+ "--no-hold",
+ "--constraint",
+ (o.old_available () ? "--old-available" : nullptr),
(o.immediate () ? "--immediate" :
o.recursive () ? "--recursive" :
nullptr),