dotnet / dotnet/sdk

Add short-form -v example to .NET CLI global options documentation

Open
#51,926 0 comments 0 reactions 1 assignee Claimed by @MiYanni View on GitHub
Area-CLI untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Type of issue
Missing example

### Description
The .NET CLI global options section lists `--verbosity` but doesn’t show any example using the short-form `-v`.
It might not be clear to new users that `dotnet build -v normal` is equivalent to `dotnet build --verbosity normal`.

### Suggested fix
Add one or two short-form examples to the "Global options" section, like:
```bash
dotnet build -v quiet
dotnet publish -v detailed
Page URL
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet
Content source
https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet.md
Why this helps

Clarifies that both long and short forms are supported across CLI commands.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.