diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-07 13:15:07 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-12-08 11:41:29 +0300 |
commit | 730277b4ab35ecb7179943fb54eef3934480db8c (patch) | |
tree | 0800ec4f46d91bb5431a405f5001cb240893c94e /bdep/clean.hxx | |
parent | f970f9b3cc8949f3f32e5fd1888a2679d31d9332 (diff) |
Add --immediate|-i and --recursive|-r options to update and clean commands
Diffstat (limited to 'bdep/clean.hxx')
-rw-r--r-- | bdep/clean.hxx | 2 |
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); } |