aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-10 06:43:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-10 06:43:44 +0200
commite3133aa9628858bcfe414f95731831b5962358c7 (patch)
tree0c892fa9a8b84c664e92f1874327d3faeeaab31a /bdep/new.cxx
parent8432e7eede97c2bb324c7b6578eaf9a1a2ae4282 (diff)
Support passing additional arguments to pkg-build in sync, init, new
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r--bdep/new.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 7589dca..62fc41e 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -20,7 +20,7 @@ namespace bdep
using vcs = cmd_new_vcs;
int
- cmd_new (const cmd_new_options& o, cli::scanner& args)
+ cmd_new (const cmd_new_options& o, cli::group_scanner& args)
{
tracer trace ("new");
@@ -941,7 +941,7 @@ namespace bdep
package_locations pkgs {{n, dir_path ()}}; // project == package
- cmd_init (o, prj, db, cfgs, pkgs);
+ cmd_init (o, prj, db, cfgs, pkgs, scan_arguments (args) /* pkg_args */);
}
return 0;