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
pkgs/profpatsch/nman: ✨ fix dotted attribute path parsing for page names
When using dotted attribute paths like `pkgs.profpatsch.nman`, nman was
incorrectly trying to find a man page named "pkgs.profpatsch.nman" instead
of extracting the actual page name "nman" from the last component.
Changes:
- Add extract_page_name_from_attr() helper that splits on '.' and returns last component
- Update CLI parsing to use helper for auto-detected page names (cases 2 and 3 args)
- Add comprehensive test coverage for the helper function
- Maintain backward compatibility for simple attribute names and explicit page names
- Add description to the man page
Now `nman --local pkgs.profpatsch.nman` correctly builds the full attribute
but searches for the "nman" man page instead of "pkgs.profpatsch.nman".
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments