urfave/cli's built-in version flag claimed -v by default, colliding with the -v verbose alias used on every subcommand; "mfer -v --version" failed to parse with an internal-sounding parser error. Verbose is the more common meaning of -v in tools that offer both, so verbose now keeps -v at the root and on every subcommand, and the version flag takes the capital -V (--version still works). User-visible change: -v alone now prints help with verbose logging rather than the version; use -V or --version for the version. The --version flag and the version subcommand now share one printer, so they emit identical output. Adds tests covering -v, --verbose, --version, -v --version, and --verbose --version (exit code and output). Model: opus-4-8
This commit is contained in:
@@ -24,6 +24,8 @@ only thing left of the `chore/align-repo-policies` branch is the list below.
|
||||
|
||||
# Completed Steps
|
||||
|
||||
- 2026-09-21: fixed the `-v` collision between `--verbose` and `--version`;
|
||||
verbose owns `-v`, and version answers to `--version` and `-V` (#64)
|
||||
- 2026-08-09: added `.prettierrc`/`.prettierignore`, gave `script/fmt` and
|
||||
`script/fmt-check` one shared prettier file set via `script/prettier`, dropped
|
||||
the `|| true` that hid prettier failures, and added a node-based Dockerfile
|
||||
|
||||
Reference in New Issue
Block a user