Skip to content

Commit 98619c1

Browse files
committed
rename option
1 parent 70d91b1 commit 98619c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_code_generator/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main(
5959
),
6060
disable_timestamp: bool = typer.Option(False, "--disable-timestamp"),
6161
output_model_type: DataModelType = typer.Option(
62-
DataModelType.PydanticBaseModel, "--data-model-type", "-d"
62+
DataModelType.PydanticBaseModel, "--output-model-type", "-d"
6363
),
6464
python_version: PythonVersion = typer.Option(
6565
PythonVersion.PY_38, "--python-version", "-p"

0 commit comments

Comments
 (0)