diff --git a/README.md b/README.md index 84dc3bbc..44c9ad55 100644 --- a/README.md +++ b/README.md @@ -678,7 +678,7 @@ ALIASES EXAMPLES $ fauna endpoint add - $ fauna endpoint add localhost --url http://localhost:8443/ --key secret + $ fauna endpoint add localhost --url http://localhost:8443/ --secret secret $ fauna endpoint add localhost --set-default ``` diff --git a/src/commands/endpoint/add.ts b/src/commands/endpoint/add.ts index 7c20c0ae..6cf872af 100644 --- a/src/commands/endpoint/add.ts +++ b/src/commands/endpoint/add.ts @@ -15,7 +15,7 @@ export default class AddEndpointCommand extends Command { static examples = [ "$ fauna endpoint add", - "$ fauna endpoint add localhost --url http://localhost:8443/ --key secret", + "$ fauna endpoint add localhost --url http://localhost:8443/ --secret secret", "$ fauna endpoint add localhost --set-default", ];