# cmd_get_parse_flags

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd.c#L422
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-cmd_get_parse_flags/

```c
int cmd_get_parse_flags(struct cmd *cmd)
```

## Parameters

- `cmd` (`struct cmd *`)

## Called by

- [`cmd_source_file_exec`](/en/tmux/latest/reference/c-function-cmd-source-file-c-cmd_source_file_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-source-file.c#L196)

## Referenced declarations

- [`cmd`](/en/tmux/latest/reference/c-struct-cmd/) (struct)
- [`cmd.parse_flags`](/en/tmux/latest/reference/c-struct-cmd-parse_flags/) (attribute)
