mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Clearer help text for --reload
Immutable databases are not commonly used, but it's useful to clarify that --reload will pick up on changes to metadata.
This commit is contained in:
parent
7b1a9a1999
commit
87b583a128
3 changed files with 3 additions and 3 deletions
|
|
@ -66,7 +66,7 @@ Now visiting http://localhost:8001/History/downloads will show you a web interfa
|
||||||
allowed. Use 0.0.0.0 to listen to all IPs and
|
allowed. Use 0.0.0.0 to listen to all IPs and
|
||||||
allow access from other machines.
|
allow access from other machines.
|
||||||
-p, --port INTEGER Port for server, defaults to 8001
|
-p, --port INTEGER Port for server, defaults to 8001
|
||||||
--reload Automatically reload if database or code change
|
--reload Automatically reload if code or metadata change
|
||||||
detected - useful for development
|
detected - useful for development
|
||||||
--cors Enable CORS by serving Access-Control-Allow-
|
--cors Enable CORS by serving Access-Control-Allow-
|
||||||
Origin: *
|
Origin: *
|
||||||
|
|
|
||||||
|
|
@ -336,7 +336,7 @@ def uninstall(packages, yes):
|
||||||
@click.option(
|
@click.option(
|
||||||
"--reload",
|
"--reload",
|
||||||
is_flag=True,
|
is_flag=True,
|
||||||
help="Automatically reload if database or code change detected - useful for development",
|
help="Automatically reload if code or metadata change detected - useful for development",
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
"--cors", is_flag=True, help="Enable CORS by serving Access-Control-Allow-Origin: *"
|
"--cors", is_flag=True, help="Enable CORS by serving Access-Control-Allow-Origin: *"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ Options:
|
||||||
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to automatically
|
-p, --port INTEGER RANGE Port for server, defaults to 8001. Use -p 0 to automatically
|
||||||
assign an available port.
|
assign an available port.
|
||||||
|
|
||||||
--reload Automatically reload if database or code change detected -
|
--reload Automatically reload if code or metadata change detected -
|
||||||
useful for development
|
useful for development
|
||||||
|
|
||||||
--cors Enable CORS by serving Access-Control-Allow-Origin: *
|
--cors Enable CORS by serving Access-Control-Allow-Origin: *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue