diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-11 10:04:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-01-11 10:04:02 +0200 |
commit | ad257079568746d71d913c6fca96852da6fe3bd6 (patch) | |
tree | d7a59392a1159c630c4fd0ccad816e9fd3acadf3 /bpkg/pkg-verify.cli | |
parent | 302834a875804ff943dfb005682949fd3d404d01 (diff) |
Reorganize .cli files, add man/xhtml page generation (via script for now)
Diffstat (limited to 'bpkg/pkg-verify.cli')
-rw-r--r-- | bpkg/pkg-verify.cli | 40 |
1 files changed, 40 insertions, 0 deletions
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 <bpkg/common.cli>; + +"\section=1" +"\name=bpkg-pkg-verify" +"\summary=verify archive is a valid package" + +/* +"\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." + } + + bool --ignore-unknown + { + "Ignore unknown manifest entries." + } + }; +} |