diff --git a/datasette/publish/cloudrun.py b/datasette/publish/cloudrun.py index d997a5e3..436b5d2b 100644 --- a/datasette/publish/cloudrun.py +++ b/datasette/publish/cloudrun.py @@ -21,9 +21,7 @@ def publish_subcommand(publish): help="Application name to use when building", ) @click.option( - "--service", - default="", - help="Cloud Run service to deploy (or over-write)", + "--service", default="", help="Cloud Run service to deploy (or over-write)" ) @click.option("--spatialite", is_flag=True, help="Enable SpatialLite extension") def cloudrun( @@ -80,7 +78,7 @@ def publish_subcommand(publish): check_call("gcloud builds submit --tag {}".format(image_id), shell=True) check_call( "gcloud beta run deploy --allow-unauthenticated --image {}{}".format( - image_id, " {}".format(service) if service else "", + image_id, " {}".format(service) if service else "" ), shell=True, ) diff --git a/docs/datasette-publish-cloudrun-help.txt b/docs/datasette-publish-cloudrun-help.txt index 0ed51403..fc7d44d5 100644 --- a/docs/datasette-publish-cloudrun-help.txt +++ b/docs/datasette-publish-cloudrun-help.txt @@ -18,6 +18,7 @@ Options: --source_url TEXT Source URL for metadata --about TEXT About label for metadata --about_url TEXT About URL for metadata - -n, --name TEXT Application name to use when deploying + -n, --name TEXT Application name to use when building + --service TEXT Cloud Run service to deploy (or over-write) --spatialite Enable SpatialLite extension --help Show this message and exit.