Describe the bug
Running wheels upgrade --help:
Usage: wheels upgrade [--to=<version>] [--dry-run]
Upgrade the Wheels framework version in your project (vendor/wheels/).
Options:
--to=<version> Target version (default: latest stable)
--dry-run Print what would change without applying
Then running wheels upgrade --dry-run (or wheels upgrade --to=4.0.0):
Usage: wheels upgrade check [--to=<version>]
Scans your app for breaking changes between versions.
Does not perform the upgrade — use 'brew upgrade wheels' for that.
The two outputs disagree on:
- The subcommand surface (
--help says no subcommand needed; reality requires check)
- The flag set (
--help advertises --to and --dry-run; reality only honors --to after check)
- What the command does (
--help says "upgrade"; reality says "scan only, use brew for upgrade")
To Reproduce
wheels upgrade --help # documents an "upgrade" command with --to and --dry-run
wheels upgrade --dry-run # actually says "Usage: wheels upgrade check [--to=<version>]"
wheels upgrade --to=4.0.0 # same
Expected behavior
--help output matches the actual command behavior. Either:
- Rewrite
--help to describe the check subcommand and tell users to brew upgrade wheels for the install side, OR
- Implement the upgrade flow that
--help already describes — --to=<version> to bump vendor/wheels/, --dry-run to preview, etc.
Source
cli/lucli/Module.cfc — the upgrade() function around line 2357. The --help doc-comment block and the runtime dispatcher disagree.
Environment
- Wheels CLI: 4.0.0-SNAPSHOT+1779
🤖 Filed by Claude Code while assisting with a 4.0 upgrade testbed
Describe the bug
Running
wheels upgrade --help:Then running
wheels upgrade --dry-run(orwheels upgrade --to=4.0.0):The two outputs disagree on:
--helpsays no subcommand needed; reality requirescheck)--helpadvertises--toand--dry-run; reality only honors--toaftercheck)--helpsays "upgrade"; reality says "scan only, use brew for upgrade")To Reproduce
Expected behavior
--helpoutput matches the actual command behavior. Either:--helpto describe thechecksubcommand and tell users tobrew upgrade wheelsfor the install side, OR--helpalready describes —--to=<version>to bumpvendor/wheels/,--dry-runto preview, etc.Source
cli/lucli/Module.cfc— theupgrade()function around line 2357. The--helpdoc-comment block and the runtime dispatcher disagree.Environment
🤖 Filed by Claude Code while assisting with a 4.0 upgrade testbed