# list-menu command

The list-menu command produces a documentation
quality presentation format of menu(s).

**Synonyms:** lm

## Syntax

```
list-menu file.name item.list*{(options}
```

## Parameter(s)

| options | n | Affects output to the terminal only, preventing output from pausing at the end of each (terminal) page of output. |
| --- | --- | --- |
| p | Directs output to the system printer, via the spooler. | |

## Description

You must supply either an active
list of menu items or an item list.

## Example(s)

```
select md with a1 "me"
[404] 3 items selected out of 1477 items.
list-menu md (p
```

## See also

- [list-macros macro](https://d3codex.com/tcl/list-macros-macro/)
- [list-menus macro](https://d3codex.com/tcl/list-menus-macro/)
- [Options (TCL)](https://d3codex.com/tcl/options-tcl/)

---
Source: https://d3codex.com/tcl/list-menu-command/ - part of the D3Codex reference.
