Skip to content

SliceFlagSeparator can affect subcommands, whereas DisableSliceFlagSeparator does not. #1856

Closed

Description

@chenlein

Checklist

  • [y] Are you running the latest v3 release? The list of releases is here.
  • [y] Did you check the manual for your release? The v3 manual is here.
  • Did you perform a search about this feature? Here's the GitHub guide about searching.

What problem does this solve?

That can influence subcommands by setting the DisableSliceFlagSeparator parameter in the top-level command.

Solution description

As the behavior of the DisableSliceFlagSeparator parameter shoud be consistent with that of SliceFlagSeparator

Describe alternatives you've considered

set DisableSliceFlagSeparator flag for all subcommands!

Activity

  1. added
    area/v3
    status/triage
    on Jan 8, 2024
  2. dearchap commented on Apr 16, 2024

    @dearchap
    Contributor

    @chenlein this is by design since we are assumimg that the user knows which commands needs the slice flag separator and which doesnt. This is tough to fix without breaking user expectations .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/v3status/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions