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.cxx23
1 files changed, 9 insertions, 14 deletions
diff --git a/tests/manifest/driver.cxx b/tests/manifest/driver.cxx
index 8f3ffef..2b93e5a 100644
--- a/tests/manifest/driver.cxx
+++ b/tests/manifest/driver.cxx
@@ -16,23 +16,18 @@ using namespace std;
using namespace butl;
using namespace bpkg;
+// Usage: argv[0] (-p|-r|-s)
+//
+// Read and parse manifest from STDIN and serialize it to STDOUT. The
+// following options specify the manifest type.
+//
+// -p parse package manifest list
+// -r parse repository manifest list
+// -s parse signature manifest
+//
int
main (int argc, char* argv[])
{
- // Usage: driver (-p|-r|-s)
- //
- // Read and parse manifest from STDIN and serialize it to STDOUT. The
- // following options specify the manifest type.
- //
- // -p
- // Parse package manifest list.
- //
- // -r
- // Parse repository manifest list.
- //
- // -s
- // Parse signature manifest.
- //
assert (argc == 2);
string opt (argv[1]);