Jira (FACT-3046) Facter 4 CLI doe not accept concatenated short flags

6 views
Skip to first unread message

Gheorghe Popescu (Jira)

unread,
May 24, 2021, 3:38:02 AM5/24/21
to puppe...@googlegroups.com
Gheorghe Popescu created an issue
 
Facter / Bug FACT-3046
Facter 4 CLI doe not accept concatenated short flags
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/05/24 12:37 AM
Priority: Normal Normal
Reporter: Gheorghe Popescu

Trying to run `facter -jp` or `facter -dv` not work, resulting in an error:

[2021-05-24 10:34:46.955480 ] ERROR Facter::OptionsValidator - unrecognised option '-p'

Previously with worked in Facter 3

At the first glance seems that options defined with `[class_option|https://github.com/puppetlabs/facter/blob/main/lib/facter/framework/cli/cli.rb#L40` can be combined, but the ones defined with a specific mapping error out.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Gheorghe Popescu (Jira)

unread,
May 24, 2021, 4:04:02 AM5/24/21
to puppe...@googlegroups.com
Gheorghe Popescu updated an issue
Change By: Gheorghe Popescu
Trying to run `facter -jp` or `facter -dv`   does not work, resulting in an error:

{noformat}

[2021-05-24 10:34:46.955480 ] ERROR Facter::OptionsValidator - unrecognised option '-p'
{noformat}


Previously with worked in Facter 3

At the first glance seems that options defined with `[class_option|https://github.com/puppetlabs/facter/blob/main/lib/facter/framework/cli/cli.rb#L40` can be combined, but the ones defined [with a specific mapping error out.|https://github.com/puppetlabs/facter/blob/main/lib/facter/framework/cli/cli.rb#L159-L160]

Gheorghe Popescu (Jira)

unread,
May 24, 2021, 4:04:04 AM5/24/21
to puppe...@googlegroups.com

Gheorghe Popescu (Jira)

unread,
May 24, 2021, 4:05:03 AM5/24/21
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages