dotnet / dotnet/sdk

`dotnet reference --help` shows incorrect description line

Open
#51,674 2 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

### Describe the bug
Running `dotnet reference --help` shows an incorrect description line.

**Current output:**

```sh
$> dotnet reference --help
Description:
.NET Remove Command

Usage:
dotnet reference [command] [options]

Options:
--project The project file to operate on. If a file is not specified, the command will search the current directory for
one.
-?, -h, --help Show command line help.

Commands:
add Add a project-to-project reference to the project.
list List all project-to-project references of the project.
remove Remove a project-to-project reference from the project.
```

**Typo in:**

```sh
Description:
.NET Remove Command
```

### To Reproduce
Run `dotnet reference --help` in the terminal.

### Further technical details
details of dotnet --info


.NET SDK:
Version: 9.0.305
Commit: 3fc74f3529
Workload version: 9.0.300-manifests.993c7b89
MSBuild version: 17.14.21+8929ca9e3

Runtime Environment:
OS Name: debian
OS Version: 13
OS Platform: Linux
RID: linux-x64
Base Path: /opt/dotnet/90305/sdk/9.0.305/

.NET workloads installed:
There are no installed workloads to display.
Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.9
Architecture: x64
Commit: 893c2ebbd4

.NET SDKs installed:
9.0.305 [/opt/dotnet/90305/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.9 [/opt/dotnet/90305/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.9 [/opt/dotnet/90305/shared/Microsoft.NETCore.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

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.