Skip to content

Commit

Permalink
Document --type option better, closes #255
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 29, 2021
1 parent 2f3371e commit b230287
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sqlite_utils/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,9 +1276,12 @@ def triggers(
@click.argument("table")
@click.option(
"--type",
type=(str, str),
type=(
str,
click.Choice(["INTEGER", "TEXT", "FLOAT", "BLOB"], case_sensitive=False),
),
multiple=True,
help="Change column type to X",
help="Change column type to INTEGER, TEXT, FLOAT or BLOB",
)
@click.option("--drop", type=str, multiple=True, help="Drop this column")
@click.option(
Expand Down

0 comments on commit b230287

Please sign in to comment.