Jira (FACT-2720) fix description for boolean options in --help

0 views
Skip to first unread message

Bogdan Irimie (Jira)

unread,
Jul 22, 2020, 8:59:03 AM7/22/20
to puppe...@googlegroups.com
Bogdan Irimie created an issue
 
Facter / Task FACT-2720
fix description for boolean options in --help
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/07/22 5:58 AM
Priority: Normal Normal
Reporter: Bogdan Irimie

The help option has confusing descriptions for boolean options:

facter --help
Commands:
  facter --list-block-groups              # List block groups
  facter --list-cache-groups              # List cache groups
  facter [options] [query] [query] [...]  #
  facter help [COMMAND]                   # Describe available commands or one specific command
 
Options:
      [--color], [--no-color]                          # Enable color output.
  -c, [--config=CONFIG]                                # The location of the config file.
      [--custom-dir=CUSTOM_DIR]                        # A directory to use for custom facts.
  -d, [--debug], [--no-debug]                          # Enable debug output.
      [--external-dir=EXTERNAL_DIR]                    # A directory to use for external facts.
      [--hocon], [--no-hocon]                          # Output in Hocon format.
  -j, [--json], [--no-json]                            # Output in JSON format.
      [--list-block-groups], [--no-list-block-groups]  # List the names of all blockable fact groups.
      [--list-cache-groups], [--no-list-cache-groups]  # List the names of all cacheable fact groups.
  -l, [--log-level=LOG_LEVEL]                          # Set logging level. Supported levels are: none, trace, debug, info, warn, error, and fatal.
      [--block], [--no-block]                          # Disable fact blocking.
      [--cache], [--no-cache]                          # Disable loading and refreshing facts from the cache
      [--custom-facts], [--no-custom-facts]            # Disable custom facts.
      [--external-facts], [--no-external-facts]        # Disable external facts.
      [--ruby], [--no-ruby]                            # Disable loading Ruby, facts requiring Ruby, and custom facts.
      [--trace], [--no-trace]                          # Enable backtraces for custom facts.
      [--verbose], [--no-verbose]                      # Enable verbose (info) output.
      [--show-legacy], [--no-show-legacy]              # Show legacy facts when querying all facts.
  -y, [--yaml], [--no-yaml]                            # Output in YAML format.
      [--strict], [--no-strict]                        # Enable more aggressive error reporting.
  -p, [--puppet], [--no-puppet]                        # Load the Puppet libraries, thus allowing Facter to load Puppet-specific facts.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Bogdan Irimie (Jira)

unread,
Jul 22, 2020, 9:44:03 AM7/22/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Jul 22, 2020, 9:44:03 AM7/22/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Jul 22, 2020, 9:44:09 AM7/22/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost-29.07

Mihai Buzgau (Jira)

unread,
Aug 11, 2020, 8:24:08 AM8/11/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: ready for triage

Bogdan Irimie (Jira)

unread,
Aug 19, 2020, 9:51:03 AM8/19/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ready for triage ghost-26.08

Bogdan Irimie (Jira)

unread,
Aug 26, 2020, 9:04:05 AM8/26/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08 , ready for triage 2

Andrei Filipovici (Jira)

unread,
Sep 1, 2020, 10:52:02 AM9/1/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 2, 2020, 2:37:02 AM9/2/20
to puppe...@googlegroups.com

We should look how `bolt` does it.

Andrei Filipovici (Jira)

unread,
Sep 2, 2020, 3:11:03 AM9/2/20
to puppe...@googlegroups.com

Bolt doesn't use Thor, they implemented their own cli parser.

Bogdan Irimie (Jira)

unread,
Sep 2, 2020, 9:07:06 AM9/2/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08, ghost-2.09 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Sep 8, 2020, 8:39:03 AM9/8/20
to puppe...@googlegroups.com

Bogdan Irimie (Jira)

unread,
Sep 9, 2020, 9:08:04 AM9/9/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08, ghost-2.09, ghost-9.09 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Sep 16, 2020, 9:11:04 AM9/16/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08, ghost-2.09, ghost-9.09, ghost-16.09 , ready for triage 2

Bogdan Irimie (Jira)

unread,
Sep 22, 2020, 9:00:06 AM9/22/20
to puppe...@googlegroups.com
Bogdan Irimie assigned an issue to Bogdan Irimie
Change By: Bogdan Irimie
Assignee: Bogdan Irimie

Bogdan Irimie (Jira)

unread,
Sep 23, 2020, 9:11:06 AM9/23/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: ghost-26.08, ghost-2.09, ghost-9.09, ghost-16.09, ghost-23.09 , ready for triage 2
Reply all
Reply to author
Forward
0 new messages