Skip to content

Commit

Permalink
fix: all boolean flags
Browse files Browse the repository at this point in the history
  • Loading branch information
chronark committed May 16, 2022
1 parent fbbf490 commit 7122578
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/commands/kafka/cluster/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const createCmd = new Command()
required: true,
})
.option(
"--multizone-replication [boolean]",
"--multizone-replication <boolean:boolean>",
"Set true to enable multizone-replication",
{ default: false },
)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/kafka/topic/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const createCmd = new Command()
{ default: maxMessageSize["1mb"] },
)
.option(
"--multizone-replication [boolean]",
"--multizone-replication <boolean:boolean>",
"Set true to enable multizone-replication",
{ default: false },
)
Expand Down
2 changes: 1 addition & 1 deletion src/commands/redis/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boolean:boolean>", "Show expanded information")
.example("List", "upstash redis list")
.action(async (options): Promise<void> => {
const authorization = await parseAuth(options);
Expand Down
2 changes: 1 addition & 1 deletion src/commands/team/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const createCmd = new Command()
.description("Create a new team")
.option("-n --name <string>", "Name of the database")
.option(
"--copy-credit-card [boolean]",
"--copy-credit-card <boolean:boolean>",
"Set true to copy the credit card information to the new team",
{ default: false },
)
Expand Down

0 comments on commit 7122578

Please sign in to comment.