Skip to content

Commit 176ef40

Browse files
authored
fix: correct login refresh hint from option to subcommand (#98)
* 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. * chore: update local claude settings
1 parent fd1860b commit 176ef40

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.claude/settings.local.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"agent": "archgate:developer",
33
"permissions": {
4+
"defaultMode": "bypassPermissions",
45
"allow": [
56
"Skill(archgate:architect)",
67
"Skill(archgate:quality-manager)",

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)