logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

App::Cme::Command::fix - Fix the configuration of an application

Author

       Dominique Dumont

Common Options

       See "Global Options" in cme.

Description

       Checks the content of the configuration file of an application (and show warnings if needed), update
       deprecated parameters (old value are saved to new parameters) and fix warnings are fixed. The
       configuration is saved if anything was changed. If no changes are done, the file is not saved.

Name

       App::Cme::Command::fix - Fix the configuration of an application

Options

       from
           Use option "-from" to fix only a subset of a configuration tree. Example:

            cme fix dpkg -from 'control binary:foo Depends'

           This option can be repeated:

            cme fix dpkg -from 'control binary:foo Depends' -from 'control source Build-Depends'

       filter
           Filter  the  leaf  according  to  a  pattern.  The pattern is applied to the element name to be fixed
           Example:

            cme fix dpkg -from control -filter Build # will fix all Build-Depends and Build-Depend-Indep

           or

            cme fix dpkg -filter Depend

See Also

       cme, App::Cme::Command::migrate

Synopsis

         # fix dpkg (this example requires Config::Model::Dpkg)
         cme fix dpkg

Version

       version 1.041

See Also