Skip to content

[PUP-10403] Puppet parser --help is missing the --tasks flag #33

Description

@github-actions

Note: This issue has been mirrored from Puppet's Jira issue tracker. Changes
made here will not be synced back to the source. Please follow the Jira link
below to find more details, to comment, or to contribute a pull request. See
this repository's README for more contribution information!

Metadata
Jira link https://tickets.puppetlabs.com/browse/PUP-10403
Created Mon, 30 Mar 2020 18:39:53 -0700
Updated Fri, 24 Apr 2020 17:55:31 -0700
Component UX
Labels beginner

Puppet Version: 6.14.0
Puppet Server Version: N/A
OS Name/Version: CentOS 7.7

When running `puppet parser validate path/to/bolt/plan.pp` it failed until i passed in `–tasks`, which was not present in the `–help` output of `puppet --help` or `puppet parser --help` or `puppet parser validate --help`.

Desired Behavior:

The `–tasks` parameter is shown when we pass in `--help`.

Actual Behavior:

$ puppet parser --help
USAGE: puppet parser <action> Interact directly with the parser.OPTIONS:
  --render-as FORMAT             - The rendering format to use.
  --verbose                      - Whether to log verbosely.
  --debug                        - Whether to log debug information.ACTIONS:
  dump        Outputs a dump of the internal parse tree for debugging
  validate    Validate the syntax of one or more Puppet manifests.See 'puppet help parser' or 'man puppet-parser' for full help.
 
$ puppet parser validate --help
USAGE: puppet parser validate [<manifest>] [<manifest> ...]This action validates Puppet DSL syntax without compiling a catalog or
syncing any resources. If no manifest files are provided, it will
validate the default site manifest.RETURNS: Nothing, or the first syntax error encountered.OPTIONS:
  --render-as FORMAT             - The rendering format to use.
  --verbose                      - Whether to log verbosely.
  --debug                        - Whether to log debug information.See 'puppet help parser' or 'man puppet-parser' for full help.

 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions