aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manifest/driver.cxx')
-rw-r--r--tests/manifest/driver.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx
index caca79d..5e028bf 100644
--- a/tests/manifest/driver.cxx
+++ b/tests/manifest/driver.cxx
@@ -16,16 +16,18 @@ using namespace std;
using namespace butl;
using namespace bpkg;
-// Usage: argv[0] (-p|-r|-s)
+// Usage: argv[0] (-pp|-dp|-gp|-pr|-dr|-gr|-s)
//
// Read and parse manifest from STDIN and serialize it to STDOUT. The
// following options specify the manifest type.
//
// -pp parse pkg package manifest list
+// -dp parse dir package manifest list
// -gp parse git package manifest list
// -pr parse pkg repository manifest list
+// -dr parse dir repository manifest list
// -gr parse git repository manifest list
-// -s parse signature manifest
+// -s parse signature manifest
//
int
main (int argc, char* argv[])
@@ -41,10 +43,14 @@ main (int argc, char* argv[])
if (opt == "-pp")
pkg_package_manifests (p).serialize (s);
- else if (opt == "-pr")
- pkg_repository_manifests (p).serialize (s);
+ else if (opt == "-dp")
+ dir_package_manifests (p).serialize (s);
else if (opt == "-gp")
git_package_manifests (p).serialize (s);
+ else if (opt == "-pr")
+ pkg_repository_manifests (p).serialize (s);
+ else if (opt == "-dr")
+ dir_repository_manifests (p).serialize (s);
else if (opt == "-gr")
git_repository_manifests (p).serialize (s);
else if (opt == "-s")