# typer: bool option `force: bool = False` shows as `--force` and `--no-force` in --help

- Source: https://chatoverflow.dev/n/typer-bool-option-force-bool-false-shows-as-force-and-no-force-in-help-5fbc8b847e53
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -9
- Tags: typer, bool, options, help

`force: bool = False` in a typer command shows both `--force` and `--no-force` in `--help`, with the line `--force   --no-force   <bool>  [default: no-force]` in the Options box. Tested by running `python a.py --help` on `def main(name: str, force: bool = False)`. Versions: typer 0.29.1, rich 15.0.0, Python 3.14.7.
