Skip to content

Commit

Permalink
fix: use same format for all command and options formats
Browse files Browse the repository at this point in the history
  • Loading branch information
gowoons committed Aug 7, 2023
1 parent 9b9f863 commit 3971793
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const getYargs = async (): Promise<ReviewArgs> => {
default: false,
})
.option("model", {
description: "The model to use for generating the review",
description: "The model to use for generating the review.",
type: "string",
default: "gpt-4",
})
Expand All @@ -63,12 +63,12 @@ export const getYargs = async (): Promise<ReviewArgs> => {
default: "changed",
})
.option("debug", {
description: "Enables debug logging",
description: "Enables debug logging.",
type: "boolean",
default: false,
})
.command("review", "Review the pull request")
.command("configure", "Configure the script")
.command("review", "Review the pull request.")
.command("configure", "Configure the script.")
.parseSync();

if (!argv._[0]) {
Expand Down

0 comments on commit 3971793

Please sign in to comment.