aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-create.cxx')
-rw-r--r--bpkg/rep-create.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx
index 4ee2bab..1b8712a 100644
--- a/bpkg/rep-create.cxx
+++ b/bpkg/rep-create.cxx
@@ -95,7 +95,7 @@ namespace bpkg
mf.string ().c_str (),
nullptr};
- if (verb)
+ if (verb >= 2)
print_process (args);
try
@@ -237,7 +237,9 @@ namespace bpkg
{
const package_manifest& m (p.second.second);
- text << "adding " << m.name << " " << m.version;
+ if (verb)
+ text << "adding " << m.name << " " << m.version;
+
m.serialize (s);
}
@@ -252,7 +254,8 @@ namespace bpkg
fail << "unable to write to " << p;
}
- text << pm.size () << " package(s)";
+ if (verb)
+ text << pm.size () << " package(s)";
}
catch (const invalid_path& e)
{