# cmd_show_options_print

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

```c
static void cmd_show_options_print(struct cmd *, struct cmdq_item *, struct options_entry *, int, int)
```

## Parameters

- `self` (`struct cmd *`)
- `item` (`struct cmdq_item *`)
- `o` (`struct options_entry *`)
- `idx` (`int`)
- `parent` (`int`)

## Called by

- [`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#L207)
- [`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#L128)
- [`cmd_show_options_print`](/en/tmux/3.2a/reference/c-function-cmd-show-options-c-cmd_show_options_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L162)

## Calls

- [`args_escape`](/en/tmux/3.2a/reference/c-function-args_escape/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L174)
- [`args_has`](/en/tmux/3.2a/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L156)
- [`cmd_get_args`](/en/tmux/3.2a/reference/c-function-cmd_get_args/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L144)
- [`cmd_show_options_print`](/en/tmux/3.2a/reference/c-function-cmd-show-options-c-cmd_show_options_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L162)
- [`cmdq_print`](/en/tmux/3.2a/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L157)
- [`options_array_first`](/en/tmux/3.2a/reference/c-function-options_array_first/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L154)
- [`options_array_item_index`](/en/tmux/3.2a/reference/c-function-options_array_item_index/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L161)
- [`options_array_next`](/en/tmux/3.2a/reference/c-function-options_array_next/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L164)
- [`options_is_array`](/en/tmux/3.2a/reference/c-function-options_is_array/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L153)
- [`options_name`](/en/tmux/3.2a/reference/c-function-options_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L146)
- [`options_to_string`](/en/tmux/3.2a/reference/c-function-options_to_string/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L170)
- [`xasprintf`](/en/tmux/3.2a/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-show-options.c#L150)

## Other function references

- [`options_is_string`](/en/tmux/3.2a/reference/c-function-options_is_string/) (function)

## Referenced declarations

- [`cmd`](/en/tmux/3.2a/reference/c-struct-cmd/) (struct)
- [`cmdq_item`](/en/tmux/3.2a/reference/c-struct-cmdq_item/) (struct)
- [`options_entry`](/en/tmux/3.2a/reference/c-struct-options_entry/) (struct)
- [`options_array_item.value`](/en/tmux/3.2a/reference/c-struct-options_array_item-value/) (attribute)
