Remove query -t shortcut - so I can use it for table later, refs #16

This commit is contained in:
Simon Willison 2023-07-24 21:52:33 -07:00
commit 66a3cdd3be
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ def cli():
@cli.command()
@click.argument("url_or_alias")
@click.argument("sql")
@click.option("--token", "-t", help="API token")
@click.option("--token", help="API token")
def query(url_or_alias, sql, token):
"""
Run a SQL query against a Datasette database URL

View file

@ -44,8 +44,8 @@ Usage: dclient query [OPTIONS] URL_OR_ALIAS SQL
Returns a JSON array of objects
Options:
-t, --token TEXT API token
--help Show this message and exit.
--token TEXT API token
--help Show this message and exit.
```
<!-- [[[end]]] -->