mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 08:30:43 +00:00
fix(cli): fast-path bare channels help (#77659)
* fix(cli): fast-path bare channels help * fix(cli): normalize channels add argv gating * fix(cli): restore channel add completion flags
This commit is contained in:
@@ -60,7 +60,7 @@ async function registerSubcommandsForCompletion(program: Command): Promise<void>
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
await registerSubCliByName(program, entry.name);
|
||||
await registerSubCliByName(program, entry.name, process.argv, { purpose: "completion" });
|
||||
} catch (error) {
|
||||
writeCompletionRegistrationWarning(
|
||||
`skipping subcommand \`${entry.name}\` while building completion cache: ${error instanceof Error ? error.message : String(error)}`,
|
||||
|
||||
Reference in New Issue
Block a user