diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-22 19:34:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-08-22 19:34:51 +0200 |
commit | 7e7dee76c870917866fd23f385211ee8101705b4 (patch) | |
tree | b78508ec5316b6f50cbf4417337b96e874bdf439 /bdep/new.cxx | |
parent | b2c194aa4913afee30a78fc191912b9622a4d9ae (diff) |
Add support for specifying publisher's name in addition to email
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 64e1724..45c3234 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -7,7 +7,7 @@ #include <libbutl/project-name.mxx> #include <bdep/project.hxx> -#include <bdep/project-email.hxx> +#include <bdep/project-author.hxx> #include <bdep/database.hxx> #include <bdep/diagnostics.hxx> @@ -370,7 +370,7 @@ namespace bdep // string email; { - optional<string> r (project_email (prj)); + optional<string> r (find_project_author_email (prj)); email = r ? move (*r) : "you@example.org"; } |