fix: scope trans download help

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
Codex
2026-07-11 05:36:44 +02:00
parent 06ce779608
commit b60aba9dbe
6 changed files with 174 additions and 5 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ import { withGhDefaultRendered } from "./src/gh/default-render";
import { isGhContentRoute, runGhContentRoute } from "./src/gh-route";
import { runGitToolsCommand } from "./src/git-tools";
import { runCommanderCommand } from "./src/commander";
import { isHelpToken, rootHelp, serverHelp, sshHelp, staticNamespaceHelp } from "./src/help";
import { isHelpToken, rootHelp, serverHelp, sshHelp, sshHelpScope, staticNamespaceHelp } from "./src/help";
import { healthHelp, runHealthCommand } from "./src/health";
import { runServerCleanupCommand } from "./src/server-cleanup";
import { runGcCommand } from "./src/gc";
@@ -236,7 +236,7 @@ async function main(): Promise<void> {
}
if (top === "ssh" && (sub === undefined || isHelpToken(sub) || (isHelpToken(third) && args.length === 3))) {
emitJson(commandName, sshHelp());
emitJson(commandName, sshHelp(sshHelpScope(args)));
return;
}