Update-Database --help shows wrong usage information
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
When performing an update-database, I wanted to use a connection different from the default. In order to discover the option to use, I run "update-database --help". This reported the option to use as `--connection `. This, however, didn't work. The answer I found in issue [#22390](https://github.com/dotnet/efcore/issues/22390): The option should be `-Connection `.
This basically solved my problem.
Issue [#31218](https://github.com/dotnet/efcore/issues/31218), referring to the aforementioned issue, is quite similar.
Now the point of this issue report is that the help should report the correct parameters, with single dashes instead of double.
[Using EF core tools v9.0.9]
Contributor guide
Assessment
This issue has not been assessed yet.