CARGO-HELP(1) General Commands Manual CARGO-HELP(1)

# [NAME](#NAME)

cargo-help — Get help for a Cargo command

# [SYNOPSIS](#SYNOPSIS)

**cargo help** \[*subcommand*]

# [DESCRIPTION](#DESCRIPTION)

Prints a help message for the given command.

# [EXAMPLES](#EXAMPLES)

1.Get help for a command:

```
cargo help build
```

2.Help is also available with the **--help** flag:

```
cargo build --help
```

# [SEE ALSO](#SEE_ALSO)

[**cargo**(1)](/man/os/rust-1.94/cargo.1)

---

Document: cargo-help(1) from rust-1.94 1.94.1-r11 (Chainguard OS)
Source: https://github.com/rust-lang/rust
