aboutsummaryrefslogtreecommitdiff
path: root/bdep/clean.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/clean.hxx')
-rw-r--r--bdep/clean.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/bdep/clean.hxx b/bdep/clean.hxx
index 23639c4..d0960d6 100644
--- a/bdep/clean.hxx
+++ b/bdep/clean.hxx
@@ -25,6 +25,8 @@ namespace bdep
: strings ()),
"clean",
"-d", c->path,
+ (o.immediate () ? "--immediate" :
+ o.recursive () ? "--recursive" : nullptr),
cfg_vars,
pkgs);
}