diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 5ea28bfec1..c08d81abb0 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -2664,10 +2664,10 @@ Display outdated dependencies:
deno outdated>
deno outdated --compatible> -Update dependencies: +Update dependencies to latest semver compatible versions:
deno outdated --update> +Update dependencies to latest versions, ignoring semver requirements:
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.
deno outdated --update --latest \"@std/*\"> @@ -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( @@ -11687,6 +11686,14 @@ Usage: deno repl [OPTIONS] [-- [ARGS]...]\n" recursive: false, }, ), + ( + svec!["--latest"], + OutdatedFlags { + filters: svec![], + kind: OutdatedKind::PrintOutdated { compatible: false }, + recursive: false, + }, + ), ]; for (input, expected) in cases { let mut args = svec!["deno", "outdated"];