Skip to content

Support / for switches. #6411

Description

@Trenly

Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

Forcing users to use -- to introduce a switch like --force introduces friction, especially where users come from older Windows CLI tools where the standard introduction is a slash. I'd like the ability to use either a slash or double dash to introduce a switch

Proposed technical implementation details

Enhance the argument parser to treat a slash the same as a double dash for argument parsing. It would be nice to also support slash instead of single dash for aliases

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureThis is a feature request for the Windows Package Manager client.Possible-DuplicateAutomatically surfaced as a likely duplicate of an existing issue; awaiting maintainer confirmation.Resolution-DuplicateIssue is a duplicate

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions