Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements --no-launch-profile-arguments dotnet-run option #45841

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

tmat
Copy link
Member

@tmat tmat commented Jan 9, 2025

Implements #45832

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-CLI untriaged Request triage from a team member labels Jan 9, 2025
@@ -34,6 +34,11 @@ internal static class RunCommandParser
Description = LocalizableStrings.CommandOptionNoLaunchProfileDescription
};

public static readonly CliOption<bool> NoLaunchProfileArgumentsOption = new("--no-launch-profile-arguments")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Add Arity = ArgumentArity.Zero to the object initializer for this option so that this is treated as a flag-only option.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will follow up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-CLI untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants