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/update.hxx | |
parent | f970f9b3cc8949f3f32e5fd1888a2679d31d9332 (diff) |
Add --immediate|-i and --recursive|-r options to update and clean commands
Diffstat (limited to 'bdep/update.hxx')
-rw-r--r-- | bdep/update.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bdep/update.hxx b/bdep/update.hxx index e038c36..e93ec34 100644 --- a/bdep/update.hxx +++ b/bdep/update.hxx @@ -25,6 +25,8 @@ namespace bdep : strings ()), "update", "-d", c->path, + (o.immediate () ? "--immediate" : + o.recursive () ? "--recursive" : nullptr), cfg_vars, pkgs); } |