Linux command
cargo-help 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show general help
cargo help
Show help for specific command
cargo help [build]
List all installed commands
cargo --list
Verbose command list
cargo --list --verbose
Explain error code
cargo --explain [E0004]
说明
cargo help displays help information for Cargo commands. Use it to learn about available commands, their options, and usage patterns.
参数
- --help, -h
- Show help message
- --list
- List all installed Cargo subcommands
- --verbose, -v
- Print extra information with --list
- --explain _code_
- Run rustc --explain for error code
FAQ
What is the cargo-help command used for?
cargo help displays help information for Cargo commands. Use it to learn about available commands, their options, and usage patterns.
How do I run a basic cargo-help example?
Run `cargo help` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --help, -h do in cargo-help?
Show help message