fix: scope trans download help
Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user