diff --git a/README.md b/README.md index 4dec8a91..c52ea0c8 100644 --- a/README.md +++ b/README.md @@ -496,20 +496,13 @@ Prompts the user to log into a Fauna account, and saves the secret to a new endpoint. ```sh -Add a Fauna endpoint by logging into a Fauna account. +Log in to a Fauna account. USAGE - $ fauna cloud-login [--endpointURL ] [--timeout ] - [--secret ] [--endpoint ] - -FLAGS - --endpoint= Connection endpoint, from ~/.fauna-shell - --endpointURL= Database URL. Overrides the `url` in ~/.fauna-shell - --secret= Secret key. Overrides the `secret` in ~/.fauna-shell - --timeout= Connection timeout in milliseconds + $ fauna cloud-login DESCRIPTION - Add a Fauna endpoint by logging into a Fauna account. + Log in to a Fauna account. EXAMPLES $ fauna cloud-login @@ -841,7 +834,7 @@ TOPICS COMMANDS add-endpoint Add an endpoint to ~/.fauna-shell. - cloud-login Add a Fauna endpoint by logging into a Fauna account. + cloud-login Log in to a Fauna account. create-database Create a database. create-key Create a key for the specified database. default-endpoint Set an endpoint as the default one. diff --git a/src/commands/cloud-login.ts b/src/commands/cloud-login.ts index b49e4a1a..ed0b8519 100644 --- a/src/commands/cloud-login.ts +++ b/src/commands/cloud-login.ts @@ -31,7 +31,7 @@ class Region { } export default class CloudLoginCommand extends Command { - static description = "Prompt the user to log into a Fauna account."; + static description = "Log in to a Fauna account."; static examples = ["$ fauna cloud-login"]; static flags = {};