'Usage: datasette', not 'Usage: cli' - refs #336

pull/349/head
Simon Willison 2018-07-24 09:03:07 -07:00
rodzic 74ad3ff4af
commit bd1db56936
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 17E2DEA2588B7F52
4 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
$ datasette package --help
Usage: cli package [OPTIONS] FILES...
Usage: datasette package [OPTIONS] FILES...
Package specified SQLite files into a new datasette Docker container

Wyświetl plik

@ -1,6 +1,6 @@
$ datasette publish --help
Usage: cli publish [OPTIONS] PUBLISHER [FILES]...
Usage: datasette publish [OPTIONS] PUBLISHER [FILES]...
Publish specified SQLite database files to the internet along with a datasette API.

Wyświetl plik

@ -1,6 +1,6 @@
$ datasette serve --help
Usage: cli serve [OPTIONS] [FILES]...
Usage: datasette serve [OPTIONS] [FILES]...
Serve up specified SQLite database files with a web UI

Wyświetl plik

@ -18,6 +18,7 @@ def update_help_includes():
actual = "$ datasette {} --help\n\n{}".format(
name, result.output
)
actual = actual.replace('Usage: cli ', 'Usage: datasette ')
open(docs_path / filename, "w").write(actual)