aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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