Skip to content

docs: remove non-existent install_before_mode setting references#7299

Merged
jdx merged 2 commits intoinstall-before-featurefrom
copilot/sub-pr-7298
Dec 14, 2025
Merged

docs: remove non-existent install_before_mode setting references#7299
jdx merged 2 commits intoinstall-before-featurefrom
copilot/sub-pr-7298

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 14, 2025

Documentation incorrectly referenced an install_before_mode = "hard" setting that doesn't exist in the codebase. The actual implementation only has install_before with a single behavior: filtering fuzzy version matches while allowing explicitly pinned versions through.

Changes:

  • Removed references to non-existent install_before_mode setting from:
    • CLI help text in src/cli/upgrade.rs
    • User documentation in docs/cli/upgrade.md
    • Man page in man/man1/mise.1
    • Usage spec in mise.usage.kdl
  • Simplified language from "In 'soft' mode (default)..." to "This only affects..." since there's only one mode

Before:

In "soft" mode (default), this only affects fuzzy version matches like "20" or "latest".
Explicitly pinned versions like "22.5.0" are not filtered.
Use `install_before_mode = "hard"` setting to filter all versions strictly.

After:

This only affects fuzzy version matches like "20" or "latest".
Explicitly pinned versions like "22.5.0" are not filtered.

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Note

Removes references to a non-existent install_before_mode and clarifies that --before only filters fuzzy versions across CLI help, docs, man page, and usage spec.

  • CLI/Help Text:
    • Update src/cli/upgrade.rs docs for --before to state it only affects fuzzy versions; remove soft/hard mode references.
  • Documentation:
    • docs/cli/upgrade.md: remove soft/hard mode wording and install_before_mode mention; clarify fuzzy-only behavior.
    • man/man1/mise.1: mirror the --before description changes.
    • mise.usage.kdl: update long_help for --before accordingly.

Written by Cursor Bugbot for commit ebffffe. This will update automatically on new commits. Configure here.

Co-authored-by: jdx <216188+jdx@users.noreply.github.com>
Copilot AI changed the title [WIP] Add --before flag for date-based version filtering docs: remove non-existent install_before_mode setting references Dec 14, 2025
Copilot AI requested a review from jdx December 14, 2025 22:54
@jdx jdx marked this pull request as ready for review December 14, 2025 22:55
@jdx jdx merged commit 9f6eaee into install-before-feature Dec 14, 2025
4 checks passed
@jdx jdx deleted the copilot/sub-pr-7298 branch December 14, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants