From 333c5953151d6324d83d279a7ac3c53cd1af54b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Sep 2015 10:58:17 +0200 Subject: Implement pkg-verify, pkg-fetch commands --- bpkg/pkg-verify-options.cli | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 bpkg/pkg-verify-options.cli (limited to 'bpkg/pkg-verify-options.cli') 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 ; + +/* +"\section=1" +"\name=bpkg-pkg-verify" + +"\h{SYNOPSIS} + +bpkg pkg-verify " + +"\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 - +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." + }; + }; +} -- cgit v1.1