App::Cme::Command::check(3pm)

App::Cme::Command::check3pm

Check the configuration of an application

Usage

 # standard usage
 cme check popcon
 # read data from arbitrary file (with Config::Model::Dpkg)
 cme check dpkg-copyright path/to/file

Version

version 1.041

Overview

Checks the content of the configuration file of an application. Prints warnings and errors on STDOUT.

Example:

 cme check fstab

Some applications allows one to override the default configuration file. For instance, with Debian copyright model, you can run cme on a different file:

  cme check dpkg-copyright foobar

or directly check copyright data on STDIN:

  curl http://metadata.ftp-master.debian.org/changelogs/main/f/frozen-bubble/unstable_copyright \
  | cme check dpkg-copyright -

Options

See "Global Options" in cme.

Options

-strict

When set, cme exits 1 if warnings are found. By default, "cme" exits 0 when warnings are found.

Exit code

cme exits 0 when no errors are found. Exit 1 otherwise.

If "-strict" option is set, cme exits 1 when warnings are found.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Dominique Dumont

From cme 1.041-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.