# options_get_only

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

```c
struct options_entry * options_get_only(struct options *oo, const char *name)
```

## Parameters

- `oo` (`struct options *`)
- `name` (`const char *`)

## Called by

- [`cmd_get_alias`](/en/tmux/3.2a/reference/c-function-cmd_get_alias/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd.c#L425)
- [`cmd_set_option_exec`](/en/tmux/3.2a/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-set-option.c#L124)
- [`cmd_show_options_all`](/en/tmux/3.2a/reference/c-function-cmd-show-options-c-cmd_show_options_all/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L222)
- [`cmd_show_options_exec`](/en/tmux/3.2a/reference/c-function-cmd-show-options-c-cmd_show_options_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L121)
- [`input_exit_rename`](/en/tmux/3.2a/reference/c-function-input-c-input_exit_rename/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/input.c#L2391)
- [`options_add`](/en/tmux/3.2a/reference/c-function-options-c-options_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L324)
- [`options_get`](/en/tmux/3.2a/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L233)
- [`options_match_get`](/en/tmux/3.2a/reference/c-function-options_match_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L678)
- [`options_parse_get`](/en/tmux/3.2a/reference/c-function-options_parse_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L617)
- [`options_set_number`](/en/tmux/3.2a/reference/c-function-options_set_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L759)
- [`options_set_string`](/en/tmux/3.2a/reference/c-function-options_set_string/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L724)
- [`status_prompt_complete_list`](/en/tmux/3.2a/reference/c-function-status-c-status_prompt_complete_list/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1429)
- [`tty_term_apply_overrides`](/en/tmux/3.2a/reference/c-function-tty_term_apply_overrides/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-term.c#L443)
- [`tty_term_create`](/en/tmux/3.2a/reference/c-function-tty_term_create/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-term.c#L574)
- [`window_customize_draw_option`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw_option/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L810)
- [`window_customize_reset_option`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_reset_option/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1164)

## Calls

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

## 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)
- [`options.tree`](/en/tmux/3.2a/reference/c-struct-options-tree/) (attribute)
