Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
-
Night's Watch
-
5
-
NW - 2021-06-16
-
Needs Assessment
-
Known Issue
-
Facter 3 allowed short flags to be combined, such as {{-jp}} or {{-jd}}. In Facter 4, short flags should be declared separately, such as {{-j -p}} or {{-j -d}}.
-
Needs Assessment
Description
Trying to run `facter -jp` or `facter -dv` does not work, resulting in an error:
[2021-05-24 10:34:46.955480 ] ERROR Facter::OptionsValidator - unrecognised option '-p'
|
Some of the combinations works, for example `facter -jd`
At the first glance seems that options defined with class_option can be combined, but the ones defined with a specific mapping error out.