Skip to content

Update-Database --help shows wrong usage information #36933

@TheBoardMan

Description

@TheBoardMan

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 <CONNECTION>. This, however, didn't work. The answer I found in issue #22390: The option should be -Connection <CONNECTION>.

This basically solved my problem.

Issue #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]

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions