Skip to content

Commit

Permalink
allow --latest without --update + reword help
Browse files Browse the repository at this point in the history
it does nothing (it's the default) but doesn't need to be an error
  • Loading branch information
nathanwhit committed Dec 4, 2024
1 parent fb24fd3 commit 17981b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/args/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2664,10 +2664,10 @@ Display outdated dependencies:
<p(245)>deno outdated</>
<p(245)>deno outdated --compatible</>
Update dependencies:
Update dependencies to latest semver compatible versions:
<p(245)>deno outdated --update</>
Update dependencies to latest versions, ignoring semver requirements:
<p(245)>deno outdated --update --latest</>
<p(245)>deno outdated --update</>
Filters can be used to select which packages to act on. Filters can include wildcards (*) to match multiple packages.
<p(245)>deno outdated --update --latest \"@std/*\"</>
Expand Down Expand Up @@ -2703,7 +2703,6 @@ Specific version requirements to update to can be specified:
.help(
"Update to the latest version, regardless of semver constraints",
)
.requires("update")
.conflicts_with("compatible"),
)
.arg(
Expand Down

0 comments on commit 17981b6

Please sign in to comment.