From 71225783f4a4e5093e87d4a9d59cc3efe61d5ba1 Mon Sep 17 00:00:00 2001 From: Andreas Thomas Date: Mon, 16 May 2022 21:11:21 +0200 Subject: [PATCH] fix: all boolean flags --- src/commands/kafka/cluster/create.ts | 2 +- src/commands/kafka/topic/create.ts | 2 +- src/commands/redis/list.ts | 2 +- src/commands/team/create.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/kafka/cluster/create.ts b/src/commands/kafka/cluster/create.ts index 75064fc..03a5c43 100644 --- a/src/commands/kafka/cluster/create.ts +++ b/src/commands/kafka/cluster/create.ts @@ -17,7 +17,7 @@ export const createCmd = new Command() required: true, }) .option( - "--multizone-replication [boolean]", + "--multizone-replication ", "Set true to enable multizone-replication", { default: false }, ) diff --git a/src/commands/kafka/topic/create.ts b/src/commands/kafka/topic/create.ts index 8f2eaa0..73625b5 100644 --- a/src/commands/kafka/topic/create.ts +++ b/src/commands/kafka/topic/create.ts @@ -42,7 +42,7 @@ export const createCmd = new Command() { default: maxMessageSize["1mb"] }, ) .option( - "--multizone-replication [boolean]", + "--multizone-replication ", "Set true to enable multizone-replication", { default: false }, ) diff --git a/src/commands/redis/list.ts b/src/commands/redis/list.ts index ed3bdd3..5b27d99 100644 --- a/src/commands/redis/list.ts +++ b/src/commands/redis/list.ts @@ -6,7 +6,7 @@ import type { Database } from "./types.ts"; export const listCmd = new Command() .name("list") .description("list all your databases") - .option("-e, --expanded [boolean]", "Show expanded information") + .option("-e, --expanded ", "Show expanded information") .example("List", "upstash redis list") .action(async (options): Promise => { const authorization = await parseAuth(options); diff --git a/src/commands/team/create.ts b/src/commands/team/create.ts index ad1b8b9..a152cbb 100644 --- a/src/commands/team/create.ts +++ b/src/commands/team/create.ts @@ -8,7 +8,7 @@ export const createCmd = new Command() .description("Create a new team") .option("-n --name ", "Name of the database") .option( - "--copy-credit-card [boolean]", + "--copy-credit-card ", "Set true to copy the credit card information to the new team", { default: false }, )