# options_parse_get

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L649
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-format-c-format_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L4085)

## Calls

- [`options_get`](/en/tmux/3.7c/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L660)
- [`options_get_only`](/en/tmux/3.7c/reference/c-function-options_get_only/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L658)
- [`options_parse`](/en/tmux/3.7c/reference/c-function-options_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L654)

## Referenced declarations

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