diff --git a/docs/cli-reference.rst b/docs/cli-reference.rst index e0d4fc5..18207c8 100644 --- a/docs/cli-reference.rst +++ b/docs/cli-reference.rst @@ -1479,7 +1479,7 @@ See :ref:`cli_spatialite`. paths. To load it from a specific path, use --load-extension. Options: - -t, --type [POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION|GEOMETRY] + -t, --type [point|linestring|polygon|multipoint|multilinestring|multipolygon|geometrycollection|geometry] Specify a geometry type for this column. [default: GEOMETRY] --srid INTEGER Spatial Reference ID. See diff --git a/sqlite_utils/cli.py b/sqlite_utils/cli.py index 6086ba9..6b7ebd9 100644 --- a/sqlite_utils/cli.py +++ b/sqlite_utils/cli.py @@ -3071,14 +3071,14 @@ def convert( "geometry_type", type=click.Choice( [ - "POINT", - "LINESTRING", - "POLYGON", - "MULTIPOINT", - "MULTILINESTRING", - "MULTIPOLYGON", - "GEOMETRYCOLLECTION", - "GEOMETRY", + "point", + "linestring", + "polygon", + "multipoint", + "multilinestring", + "multipolygon", + "geometrycollection", + "geometry", ], case_sensitive=False, ),