Skip to content

Add missing -lp shortcut for --launch-profile in dotnet run documentation#50128

Closed
abhiramch018 wants to merge 10 commits intodotnet:mainfrom
abhiramch018:fix/dotnet-run-lp-shortcut
Closed

Add missing -lp shortcut for --launch-profile in dotnet run documentation#50128
abhiramch018 wants to merge 10 commits intodotnet:mainfrom
abhiramch018:fix/dotnet-run-lp-shortcut

Conversation

@abhiramch018
Copy link
Copy Markdown
Contributor

@abhiramch018 abhiramch018 commented Nov 25, 2025

This PR adds the missing -lp shorthand for the --launch-profile option in the dotnet run
CLI reference.

Changes made:

Added -lp alias alongside --launch-profile

Added clarification note and consistent formatting

Why:
The previous documentation omitted the -lp shortcut even though it appears in the official CLI help (dotnet run -h).


Internal previews

📄 File 🔗 Preview link
docs/core/dependency-loading/default-probing.md Default probing
docs/core/tools/dotnet-run.md dotnet run command
docs/machine-learning/how-to-guides/install-gpu-model-builder.md How to install GPU support in Model Builder

Updated the dotnet run documentation to include the shorthand for launch profile.
Copy link
Copy Markdown
Contributor

@meaghanlewis meaghanlewis left a comment

Choose a reason for hiding this comment

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

@abhiramch018 thanks for adding in this shortcut option. I left a couple of comments for you.

Comment thread docs/core/tools/dotnet-run.md Outdated
Comment thread docs/core/tools/dotnet-run.md Outdated
@abhiramch018
Copy link
Copy Markdown
Contributor Author

@meaghanlewis Thanks for reviewing! I’ve applied the changes as per your suggestion.

@abhiramch018
Copy link
Copy Markdown
Contributor Author

@dotnet-policy-service agree

@meaghanlewis
Copy link
Copy Markdown
Contributor

@abhiramch018 thanks for your updates. I noticed that this PR has changes from other PRs:

Can remove those extra changed files from this PR?

@meaghanlewis
Copy link
Copy Markdown
Contributor

Closing this PR in favor of: #50912

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

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-cli/subsvc dotnet-fundamentals/svc dotnet-ml/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants