Skip to content

[CLI] tnmsc 二进制未设置默认子命令 #347

@TrueNine

Description

@TrueNine

🐛 问题描述

cli/src/cli.rs 运行 tnmsc 无参数时可能显示帮助而非报错。

📁 证据

cli.rs

✅ 修复建议

无参数时返回错误码 1 并显示用法。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglowLow priorityrustRust SDK/CLI/MCP code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions