fix: -v means --version, not --verbose

This commit is contained in:
Nate 2025-09-09 14:48:09 -07:00
parent 069c033ad6
commit 2f82821f30
2 changed files with 2 additions and 2 deletions

View file

@ -113,7 +113,7 @@ program
.description(
"Continue CLI - AI-powered development assistant. Starts an interactive session by default, use -p/--print for non-interactive output.",
)
.version(getVersion());
.version(getVersion(), "-v, --version", "Display version number");
// Root command - chat functionality (default)
// Add common options to the root command

View file

@ -13,7 +13,7 @@ export function addCommonOptions(command: Command): Command {
)
.option("--readonly", "Start in plan mode (read-only tools)")
.option("--auto", "Start in auto mode (all tools allowed)")
.option("-v, --verbose", "Enable verbose logging")
.option("--verbose", "Enable verbose logging")
.option(
"--rule <rule>",
"Add a rule (can be a file path, hub slug, or string content). Can be specified multiple times.",