#7397 closed defect (bug) (fixed)
Issue displaying argument options in CLI docs page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
In the docs page of WP CLI commands, value of --format
and similar are displaying like this
Render output in a particular format. -– default: table options: – table – csv – ids – json – count – yaml -–
Eg: https://developer.wordpress.org/cli/commands/post/list/
It would be better if we display those options in a list or something.
Attachments (3)
Change History (6)
#2
@
7 months ago
- Resolution set to fixed
- Status changed from new to closed
Fixed in wporg-developer/73d56df:
CLI: Fix display of WP-CLI command options list of default and possible values for an option
Props rabmalin, dd32.
Fixes #7397.
Note: See
TracTickets for help on using
tickets.
The underlying data has line breaks here, so it's probably more a case of respecting line breaks and/or adding custom styling for the
--- ... ---
format.