From 3bd05b854ac4cb3208e3c430734a90ae66310719 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 30 Dec 2022 13:50:15 +0000 Subject: [PATCH] -e/--expires-after in create-token docs --- docs/authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/authentication.rst b/docs/authentication.rst index 198c42ba..f5ee1a83 100644 --- a/docs/authentication.rst +++ b/docs/authentication.rst @@ -442,7 +442,7 @@ You can also create tokens on the command line using the ``datasette create-toke This command takes one required argument - the ID of the actor to be associated with the created token. -You can specify an ``--expires-after`` option in seconds. If omitted, the token will never expire. +You can specify a ``-e/--expires-after`` option in seconds. If omitted, the token will never expire. The command will sign the token using the ``DATASETTE_SECRET`` environment variable, if available. You can also pass the secret using the ``--secret`` option.