diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-10 06:43:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-10 06:43:44 +0200 |
commit | e3133aa9628858bcfe414f95731831b5962358c7 (patch) | |
tree | 0c892fa9a8b84c664e92f1874327d3faeeaab31a /bdep/new.cxx | |
parent | 8432e7eede97c2bb324c7b6578eaf9a1a2ae4282 (diff) |
Support passing additional arguments to pkg-build in sync, init, new
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r-- | bdep/new.cxx | 4 |
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; |