Fixed cf-reactor --help output printing (null) for option descriptions - #6349
Fixed cf-reactor --help output printing (null) for option descriptions#6349claude[bot] wants to merge 1 commit into
Conversation
The HINTS array was missing an entry for the --man option, so the descriptions of the options after --timestamp were shifted by one and --version was printed with a (null) description. Changelog: Title Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ymkgHKqVcK7bQzGDb2rck
|
@cf-bottom jenkins, please |
|
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/14637/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-14637/ |
|
The Generated by Claude Code |
|
macos unit tests failure looks unrelated |
Requested by Ole Herman · Slack thread
cf-reactor --helpprinted(null)and misaligned descriptions because theHINTSarray was missing an entry for--man, so hints after--timestampno longer lined up withOPTIONSand the--versionrow hit the terminatingNULL. Fixed by adding the missing "Print the man page" hint (this also fixes the option descriptions in-Mman page output, which uses the same arrays).Before:
After:
🤖 Generated with Claude Code
https://claude.ai/code/session_013ymkgHKqVcK7bQzGDb2rck