Add and document options to upstream command (#12459)

This commit is contained in:
Ed Reel
2025-08-14 18:34:54 -05:00
committed by GitHub
parent 1bea49b965
commit 7a00a045fb
3 changed files with 25 additions and 17 deletions

View File

@@ -156,7 +156,9 @@ class Command
when 'upstream'
puts <<~EOT
Check if an upstream version is available for package(s).
Usage: crew upstream [-v|--verbose] [<package1> <package2> ...]
Usage: crew upstream [-j|--json|-u|--update-package-files|-v|--verbose] [<package1> <package2> ...]
If `-j` or `--json` is present, output will be in json format.
If `-u` or `--update-package-files` is present, it will attempt to update the package version.
If `-v` or `--verbose` is present, extra information will be displayed.
EOT
when 'version'