dotnet / dotnet/command-line-api

Usage shows Project name instead of the tool name.

Open
#403 15 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Example I have something as follows :
I have Bar.csproj as follows.
```
true
foo
```
The usage of the command is shown as follows when we type the command foo.
```
Usage:
Bar [options] [command]

Options:
--version Display version information
```

I Was expecting :

```
Usage:
foo [options] [command]

Options:
--version Display version information
```

Is this a bug or by design? If not please advise on how to package. Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.