Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dangling/duplicate deno outdated --update command in deno outdated --help CLI output #27255

Closed
dandv opened this issue Dec 6, 2024 · 1 comment

Comments

@dandv
Copy link

dandv commented Dec 6, 2024

Running Deno 2.1.2 with the outdated --help arguments outputs deno outdated --update twice in the same context:

$ deno outdated --help
Find and update outdated dependencies.
By default, outdated dependencies are only displayed.

Display outdated dependencies:
  deno outdated
  deno outdated --compatible

Update dependencies:
  deno outdated --update
  deno outdated --update --latest
  deno outdated --update                            <--- ?

Filters can be used to select which packages to act on. Filters can include wildcards (*) to match multiple packages.

Is that line a duplicate that should be removed? Or should it have been deno outdated --update --compatible?

The docs copy/pasted the output it seems because the same issue occurs there too.

@nathanwhit
Copy link
Member

nathanwhit commented Dec 6, 2024

Nice catch! It was just a duplicate line. Semver-compatible is the default for --update. I fixed this in #27227, if you update to 2.1.3 (just released yesterday) this should be resolved.

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

No branches or pull requests

2 participants