# options_parse_get

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L608
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-options_parse_get/

```c
struct options_entry * options_parse_get(struct options *oo, const char *s, int *idx, int only)
```

## Parameters

- `oo` (`struct options *`)
- `s` (`const char *`)
- `idx` (`int *`)
- `only` (`int`)

## Called by

- [`format_find`](/en/tmux/3.2a/reference/c-function-format-c-format_find/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L3289)

## Calls

- [`options_get`](/en/tmux/3.2a/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L619)
- [`options_get_only`](/en/tmux/3.2a/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L617)
- [`options_parse`](/en/tmux/3.2a/reference/c-function-options_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L613)

## Referenced declarations

- [`options_entry.name`](/en/tmux/3.2a/reference/c-struct-options_entry-name/) (attribute)
- [`options`](/en/tmux/3.2a/reference/c-struct-options/) (struct)
- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
