Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/cli/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ Only upgrade to versions released before this date
Supports absolute dates like "2024-06-01" and relative durations like "90d" or "1y".
This can be useful for reproducibility or security purposes.

In "soft" mode (default), this only affects fuzzy version matches like "20" or "latest".
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.

### `--raw`

Expand Down
3 changes: 1 addition & 2 deletions man/man1/mise.1
Original file line number Diff line number Diff line change
Expand Up @@ -2706,9 +2706,8 @@ Only upgrade to versions released before this date
Supports absolute dates like "2024\-06\-01" and relative durations like "90d" or "1y".
This can be useful for reproducibility or security purposes.

In "soft" mode (default), this only affects fuzzy version matches like "20" or "latest".
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.
.TP
\fB\-\-raw\fR
Directly pipe stdin/stdout/stderr from plugin to user Sets \-\-jobs=1
Expand Down
2 changes: 1 addition & 1 deletion mise.usage.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ cmd upgrade help="Upgrades outdated tools" {
}
flag "-n --dry-run" help="Just print what would be done, don't actually do it"
flag --before help="Only upgrade to versions released before this date" {
long_help "Only upgrade to versions released before this date\n\nSupports absolute dates like \"2024-06-01\" and relative durations like \"90d\" or \"1y\".\nThis can be useful for reproducibility or security purposes.\n\nIn \"soft\" mode (default), this only affects fuzzy version matches like \"20\" or \"latest\".\nExplicitly pinned versions like \"22.5.0\" are not filtered.\nUse `install_before_mode = \"hard\"` setting to filter all versions strictly."
long_help "Only upgrade to versions released before this date\n\nSupports absolute dates like \"2024-06-01\" and relative durations like \"90d\" or \"1y\".\nThis can be useful for reproducibility or security purposes.\n\nThis only affects fuzzy version matches like \"20\" or \"latest\".\nExplicitly pinned versions like \"22.5.0\" are not filtered."
arg <BEFORE>
}
flag --raw help="Directly pipe stdin/stdout/stderr from plugin to user Sets --jobs=1"
Expand Down
3 changes: 1 addition & 2 deletions src/cli/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ pub struct Upgrade {
/// Supports absolute dates like "2024-06-01" and relative durations like "90d" or "1y".
/// This can be useful for reproducibility or security purposes.
///
/// In "soft" mode (default), this only affects fuzzy version matches like "20" or "latest".
/// 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.
#[clap(long, verbatim_doc_comment)]
before: Option<String>,

Expand Down