1App::Cme::Command::fix(U3spemr)Contributed Perl DocumentAaptpi:o:nCme::Command::fix(3pm)
2
3
4
6 App::Cme::Command::fix - Fix the configuration of an application
7
9 version 1.038
10
12 # fix dpkg (this example requires Config::Model::Dpkg)
13 cme fix dpkg
14
16 Checks the content of the configuration file of an application (and
17 show warnings if needed), update deprecated parameters (old value are
18 saved to new parameters) and fix warnings are fixed. The configuration
19 is saved if anything was changed. If no changes are done, the file is
20 not saved.
21
23 See "Global Options" in cme.
24
26 from
27 Use option "-from" to fix only a subset of a configuration tree.
28 Example:
29
30 cme fix dpkg -from 'control binary:foo Depends'
31
32 This option can be repeated:
33
34 cme fix dpkg -from 'control binary:foo Depends' -from 'control source Build-Depends'
35
36 filter
37 Filter the leaf according to a pattern. The pattern is applied to
38 the element name to be fixed Example:
39
40 cme fix dpkg -from control -filter Build # will fix all Build-Depends and Build-Depend-Indep
41
42 or
43
44 cme fix dpkg -filter Depend
45
47 cme, App::Cme::Command::migrate
48
50 Dominique Dumont
51
53 This software is Copyright (c) 2014-2022 by Dominique Dumont
54 <ddumont@cpan.org>.
55
56 This is free software, licensed under:
57
58 The GNU Lesser General Public License, Version 2.1, February 1999
59
60
61
62perl v5.38.0 2023-07-20 App::Cme::Command::fix(3pm)