diff --git a/dclient/cli.py b/dclient/cli.py index 49ff338..baebde8 100644 --- a/dclient/cli.py +++ b/dclient/cli.py @@ -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 diff --git a/docs/queries.md b/docs/queries.md index 99d5ff3..6ce1504 100644 --- a/docs/queries.md +++ b/docs/queries.md @@ -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. ```