# Libtmux.Operations.read_option

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1160
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-read_option/

```
val read_option :
  ?include_inherited:bool ->
  Options.scope -> string -> Options.value option Command.t
```

Read one exact name, including user-option inheritance. `None` means no entry under the selected policy. An invalid target remains an error. The default follows inheritance; this does not identify the defining parent scope.

## Parameters

- `include_inherited?` (`bool`)
- `arg1` (`Options.scope`)
- `arg2` (`string`)
