各位,clap 包的命令行参数说明内容很长,怎么设置换行啊? 类似这种,在下面另起一行,谢谢!
$ demo --help
A simple to use, efficient, and full-featured Command Line Argument Parser
Usage: demo[EXE] [OPTIONS] --name <NAME>
Options:
-n, --name <NAME> Name of the person to greet
new line xxx 这里怎么实现换行显示
other line xxxx
-c, --count <COUNT> Number of times to greet [default: 1]
-h, --help Print help information
-V, --version Print version information
1
共 2 条评论, 1 页
评论区
写评论谢谢,周末愉快!
--
👇
Nayaka: https://stackoverflow.com/questions/73050387/how-to-provide-multiple-line-help-message-with-clap
https://stackoverflow.com/questions/73050387/how-to-provide-multiple-line-help-message-with-clap