# command.Command.sensitive_arg

- **Module:** command.Command
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/command.rs#L208
- **Page:** https://libtmux.org/en/rs/latest/reference/command-command-sensitive_arg/

```
command.Command.sensitive_arg(mut, argument: impl Into<OsString>) -> Self
```

Append one sensitive logical argument.

The value is dispatched exactly but diagnostics use one
length-independent redaction marker.

## Example

```rust
use libtmux::Command;

let command = Command::new("set-environment")
    .arg("TOKEN")
    .sensitive_arg("secret");
assert_eq!(command.summary().sensitive_argument_count(), 1);
assert!(!command.summary().to_string().contains("secret"));
```
