Skip to content

Glossary: Rust in Practice

flag

Also written: flags

A command-line name with no value, such as `--help` or `--verbose`. In clap a `bool` field becomes a flag.

Where the book teaches it

Related terms

argumentoption