mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 01:14:31 +02:00
Document --type option better, closes #255
This commit is contained in:
parent
2f3371ecb1
commit
b2302875c9
1 changed files with 5 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue