aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify-options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-15 10:58:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-15 10:58:17 +0200
commit333c5953151d6324d83d279a7ac3c53cd1af54b9 (patch)
treee473c5ca4461afcbdf67d5db42e883a1d76564e9 /bpkg/pkg-verify-options.cli
parentd05f9f046565f2d0d4135912103f96f0e66b454f (diff)
Implement pkg-verify, pkg-fetch commands
Diffstat (limited to 'bpkg/pkg-verify-options.cli')
-rw-r--r--bpkg/pkg-verify-options.cli34
1 files changed, 34 insertions, 0 deletions
diff --git a/bpkg/pkg-verify-options.cli b/bpkg/pkg-verify-options.cli
new file mode 100644
index 0000000..cffdb00
--- /dev/null
+++ b/bpkg/pkg-verify-options.cli
@@ -0,0 +1,34 @@
+// file : bpkg/pkg-verify-options.cli
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common-options.cli>;
+
+/*
+"\section=1"
+"\name=bpkg-pkg-verify"
+
+"\h{SYNOPSIS}
+
+bpkg pkg-verify <archive>"
+
+"\h{DESCRIPTION}
+
+The \cb{pkg-verify} command verifies that the specified archive is a
+valid \cb{bpkg} package. Specifically, it checks that the archive
+contains a valid manifest file and that both the archive's name
+and its top-level directory match the canonical <name>-<version>
+form."
+*/
+
+namespace bpkg
+{
+ class pkg_verify_options: common_options
+ {
+ bool --silent
+ {
+ "Suppress error messages about the reason why the package is
+ invalid. Just return the error status."
+ };
+ };
+}