# cmd_list_commands_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L46
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_list_commands_entry/

tmux command: [`list-commands`](/en/tmux/3.2a/manual/list-commands/)

```c
const struct cmd_entry cmd_list_commands_entry = {
    .name = "list-commands",
    .alias = "lscm",

    .args = { "F:", 0, 1 },
    .usage = "[-F format] [command]",

    .flags = 0x1 | 0x4 ,
    .exec = cmd_list_keys_exec
};
```

## Other function references

- [`cmd_list_keys_exec`](/en/tmux/3.2a/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function)

## Referenced by

- [`cmd_list_keys_exec`](/en/tmux/3.2a/reference/c-function-cmd-list-keys-c-cmd_list_keys_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)
