Skip to content

Prefer '-' over '/' for options in "csc - help" #24394

@BillWagner

Description

@BillWagner

This is related to dotnet/docs#4072 "Inconsistent switch usage for C# compiler options.

We found that the options documentation used a mixture of / and - and we wanted to standardize (knowing that both are supported.) The community response was overwhelmingly in favor of -.

We are well on the way to updating the docs.

I would make the same changes to https://github.com/dotnet/roslyn/blob/master/src/Compilers/CSharp/Portable/CSharpResources.resx so that "csc -help" provided the same experience.

/cc @jcouv

Metadata

Metadata

Assignees

Labels

Area-CompilersResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions