pdfcraft/apps
LloydNicholson fce60eacb4
pdfcraft-cli --help lists `mcp` only when the build has it (#574)
Follow-up to #540: a build without the `mcp` feature (`--no-default-features`) still listed
`pdfcraft-cli mcp` in its usage, and `pdfcraft-cli mcp` then said "unknown command".

USAGE is now put together with `concat!`, and its `mcp` lines come from a macro that is empty
without the feature. In such a build `pdfcraft-cli mcp` says the MCP server was left out instead
of calling it an unknown command.

- tests/help.rs: usage_lists_mcp_only_when_built_with_it (runs in both feature sets) and
  mcp_without_the_feature_says_it_was_left_out (without the feature)

Co-authored-by: lloyd <lloyd@stackworx.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-09 14:44:11 -04:00
..
pdfcraft View: keep earlier tiles on screen while a zoom's new tiles render (#415) 2026-10-09 14:12:43 -04:00
pdfcraft-cli pdfcraft-cli --help lists `mcp` only when the build has it (#574) 2026-10-09 14:44:11 -04:00
pdfcraft-web Issue #173: a failed `?file=` startup fetch is reported in the app (#302) 2026-10-08 12:49:25 -04:00