From ad257079568746d71d913c6fca96852da6fe3bd6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 11 Jan 2016 10:04:02 +0200 Subject: Reorganize .cli files, add man/xhtml page generation (via script for now) --- bpkg/pkg-verify.cli | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 bpkg/pkg-verify.cli (limited to 'bpkg/pkg-verify.cli') diff --git a/bpkg/pkg-verify.cli b/bpkg/pkg-verify.cli new file mode 100644 index 0000000..850b7d4 --- /dev/null +++ b/bpkg/pkg-verify.cli @@ -0,0 +1,40 @@ +// file : bpkg/pkg-verify.cli +// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include ; + +"\section=1" +"\name=bpkg-pkg-verify" +"\summary=verify archive is a valid package" + +/* +"\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." + } + + bool --ignore-unknown + { + "Ignore unknown manifest entries." + } + }; +} -- cgit v1.1