.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "App::Cme::Command::check 3pm" .TH App::Cme::Command::check 3pm 2024-01-21 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME App::Cme::Command::check \- Check the configuration of an application .SH VERSION .IX Header "VERSION" version 1.040 .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 2 \& # standard usage \& cme check popcon \& \& # read data from arbitrary file (with Config::Model::Dpkg) \& cme check dpkg\-copyright path/to/file .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Checks the content of the configuration file of an application. Prints warnings and errors on STDOUT. .PP Example: .PP .Vb 1 \& cme check fstab .Ve .PP Some applications allows one to override the default configuration file. For instance, with Debian copyright model, you can run cme on a different file: .PP .Vb 1 \& cme check dpkg\-copyright foobar .Ve .PP or directly check copyright data on STDIN: .PP .Vb 2 \& curl http://metadata.ftp\-master.debian.org/changelogs/main/f/frozen\-bubble/unstable_copyright \e \& | cme check dpkg\-copyright \- .Ve .SH "Common options" .IX Header "Common options" See "Global Options" in cme. .SH options .IX Header "options" .IP \-strict 4 .IX Item "-strict" When set, cme exits 1 if warnings are found. By default, \f(CW\*(C`cme\*(C'\fR exits 0 when warnings are found. .SH "EXIT CODE" .IX Header "EXIT CODE" cme exits 0 when no errors are found. Exit 1 otherwise. .PP If \f(CW\*(C`\-strict\*(C'\fR option is set, cme exits 1 when warnings are found. .SH "SEE ALSO" .IX Header "SEE ALSO" cme .SH AUTHOR .IX Header "AUTHOR" Dominique Dumont .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is Copyright (c) 2014\-2022 by Dominique Dumont . .PP This is free software, licensed under: .PP .Vb 1 \& The GNU Lesser General Public License, Version 2.1, February 1999 .Ve