aboutsummaryrefslogtreecommitdiff
path: root/tests/manifest/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-25 15:45:22 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-25 15:45:22 +0300
commit1abaeaf0ab3e732c9fb0b83510575e7a90bd1c68 (patch)
treecaa9ffbf881dcdc8b3996fb54927b850985aea79 /tests/manifest/driver.cxx
parent22fe6dd12a36fd8369966a9b042eb53dfa85c1eb (diff)
Comments minor cleanup
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]);