Skip to content

Commit 98675ad

Browse files
committed
fix: correct login refresh hint from option to subcommand
The hint message said `--refresh` (an option) but refresh is registered as a subcommand, causing "unknown option" errors.
1 parent 4154ea6 commit 98675ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function registerLoginCommand(program: Command) {
2020
if (existing) {
2121
logInfo(
2222
`Already logged in as ${styleText("bold", existing.github_user)}.`,
23-
"Run `archgate login --refresh` to re-authenticate."
23+
"Run `archgate login refresh` to re-authenticate."
2424
);
2525
return;
2626
}

0 commit comments

Comments
 (0)