# cmd_set_option_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-set-option.c#L32
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_set_option_entry/

tmux command: [`set-option`](/en/tmux/3.2a/manual/set-option/)

```c
const struct cmd_entry cmd_set_option_entry = {
    .name = "set-option",
    .alias = "set",

    .args = { "aFgopqst:uUw", 1, 2 },
    .usage = "[-aFgopqsuUw] " "[-t target-pane]" " option [value]",

    .target = { 't', CMD_FIND_PANE, 0x40 },

    .flags = 0x4 ,
    .exec = cmd_set_option_exec
};
```

## Other function references

- [`cmd_set_option_exec`](/en/tmux/3.2a/reference/c-function-cmd-set-option-c-cmd_set_option_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_PANE`](/en/tmux/3.2a/reference/c-enum-cmd_find_type-cmd_find_pane/) (constant)
