# cmd_list_commands_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-commands.c#L37
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-variable-cmd_list_commands_entry/

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

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

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

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

## Other function references

- [`cmd_list_commands`](/en/tmux/latest/reference/c-function-cmd-list-commands-c-cmd_list_commands/) (function)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/latest/reference/c-struct-cmd_entry/) (struct)
