aboutsummaryrefslogtreecommitdiff
path: root/tests
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
parent22fe6dd12a36fd8369966a9b042eb53dfa85c1eb (diff)
Comments minor cleanup
Diffstat (limited to 'tests')
-rw-r--r--tests/manifest/driver.cxx23
-rw-r--r--tests/manifest/testscript2
2 files changed, 10 insertions, 15 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]);
diff --git a/tests/manifest/testscript b/tests/manifest/testscript
index 263e5ef..99fff14 100644
--- a/tests/manifest/testscript
+++ b/tests/manifest/testscript
@@ -1,4 +1,4 @@
-# file : tests/manifest/testscript -*- C++ -*-
+# file : tests/manifest/testscript
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file