Skip to content

Argument indicator is missing from default help #2593

@jonsequitur

Description

@jonsequitur

Is there a way to get the previous help format for options back, i.e. the new format lists the options but excludes the expected values?

private static Option<string> CreateSettingsFileOption() =>
        // Path to the settings file
        new("--settingsfile") { Description = "Path to settings file", Required = true };

Beta 4:

Options:
  --settingsfile <settingsfile> (REQUIRED)  Path to settings file

Beta 5:

Options:
  --settingsfile (REQUIRED)  Path to settings file

Note the help is not listing that the settingsfile requires an option and is not just a flag.

Originally posted by @ptr727 in #2576

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions