From 29571255a994cd62202fadaa1926fdae3e1edcbb Mon Sep 17 00:00:00 2001 From: Jean-Daniel Cryans Date: Mon, 13 Nov 2023 14:13:13 -0800 Subject: [PATCH 1/2] Fix the examples in endpoint add --- src/commands/endpoint/add.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ]; From eeed159137a0fed46e0b0a1686330dbe7097c883 Mon Sep 17 00:00:00 2001 From: Jean-Daniel Cryans Date: Mon, 13 Nov 2023 15:31:25 -0800 Subject: [PATCH 2/2] Update the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ```