diff options
Diffstat (limited to 'tests/manifest/driver.cxx')
-rw-r--r-- | tests/manifest/driver.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx index 9c58dcf..caca79d 100644 --- a/tests/manifest/driver.cxx +++ b/tests/manifest/driver.cxx @@ -21,9 +21,9 @@ using namespace bpkg; // Read and parse manifest from STDIN and serialize it to STDOUT. The // following options specify the manifest type. // -// -bp parse bpkg package manifest list +// -pp parse pkg package manifest list // -gp parse git package manifest list -// -br parse bpkg repository manifest list +// -pr parse pkg repository manifest list // -gr parse git repository manifest list // -s parse signature manifest // @@ -39,10 +39,10 @@ main (int argc, char* argv[]) manifest_parser p (cin, "stdin"); manifest_serializer s (cout, "stdout"); - if (opt == "-bp") - bpkg_package_manifests (p).serialize (s); - else if (opt == "-br") - bpkg_repository_manifests (p).serialize (s); + if (opt == "-pp") + pkg_package_manifests (p).serialize (s); + else if (opt == "-pr") + pkg_repository_manifests (p).serialize (s); else if (opt == "-gp") git_package_manifests (p).serialize (s); else if (opt == "-gr") |