You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Audit and ensure all args listed in $(salt --help) will match with $(man 1 salt) #60677
We received a complaint about missing documentation in the man pages (linked by OrangeDog above). I'm going to close that related issue as a duplicate, but I want to note the problem here:
Salt's --preview-target option is not listed in the man page
It's a small thing, but this extremely-useful option isn't documented in salt's man page. I wished for something like it for a long time, and didn't realize until this morning that it's already there, and has been for five years (added in 49120b6 by @cachedout ).
(it does appear in the --help output, along with a number of other missing options. I'm not sure why the discrepancy between the two)
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.
Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
The mismatch remains in 3008.x: salt/utils/parsers.py and salt --help expose --preview-target, but doc/ref/cli/salt.rst and the generated salt(1) man page still omit it. The proposed CLI documentation audit and synchronization mechanism was not implemented.
Activity
OrangeDog commentedon Sep 27, 2022
Is it possible to also generate the man pages / online docs from the parsers code?
barbaricyawps commentedon Feb 13, 2023
We received a complaint about missing documentation in the man pages (linked by OrangeDog above). I'm going to close that related issue as a duplicate, but I want to note the problem here:
dwoz commentedon Oct 15, 2026
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below
severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
peterupton commentedon Oct 16, 2026
The mismatch remains in 3008.x:
salt/utils/parsers.pyandsalt --helpexpose--preview-target, butdoc/ref/cli/salt.rstand the generatedsalt(1)man page still omit it. The proposed CLI documentation audit and synchronization mechanism was not implemented.dwoz commentedon Oct 17, 2026
Reopening — there is an open PR tracking a fix for this: #69553.
dwoz commentedon Oct 28, 2026
Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.