Use type integer for --timeout, refs #1717

api-extras
Simon Willison 2022-04-24 07:09:08 -07:00
rodzic 4bd3a30e1e
commit e64d14e413
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -43,6 +43,7 @@ def publish_subcommand(publish):
) )
@click.option( @click.option(
"--timeout", "--timeout",
type=int,
help="Build timeout in seconds", help="Build timeout in seconds",
) )
@click.option( @click.option(

Wyświetl plik

@ -248,7 +248,7 @@ datasette publish cloudrun --help
metadata.json metadata.json
--memory TEXT Memory to allocate in Cloud Run, e.g. 1Gi --memory TEXT Memory to allocate in Cloud Run, e.g. 1Gi
--cpu [1|2|4] Number of vCPUs to allocate in Cloud Run --cpu [1|2|4] Number of vCPUs to allocate in Cloud Run
--timeout TEXT Build timeout in seconds --timeout INTEGER Build timeout in seconds
--apt-get-install TEXT Additional packages to apt-get install --apt-get-install TEXT Additional packages to apt-get install
--help Show this message and exit. --help Show this message and exit.