Skip to content

fix: reject extra arguments to the CLI - #68

Merged
bfabio merged 1 commit into
doc/correct-user-agent-version-commentfrom
fix/reject-extra-cli-arguments
Nov 15, 2026
Merged

bfabio merged 1 commit into
doc/correct-user-agent-version-commentfrom
fix/reject-extra-cli-arguments

Conversation

@bfabio

@bfabio bfabio commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Only the first file was validated. The flag package stops at the first
file name, so a flag written after it was ignored as well: *.yml in
CI passed with invalid files after the first one, and file.yml -json
printed plain text.

@bfabio
bfabio added this pull request to stack #79 November 15, 2026 05:17
Only the first file was validated. The flag package stops at the first
file name, so a flag written after it was ignored as well: `*.yml` in
CI passed with invalid files after the first one, and `file.yml -json`
printed plain text.
@bfabio
bfabio force-pushed the fix/reject-extra-cli-arguments branch from cd20fc4 to 452fc28 Compare November 15, 2026 05:29
@bfabio
bfabio merged commit 838a389 into main Nov 15, 2026
12 checks passed
@bfabio
bfabio deleted the fix/reject-extra-cli-arguments branch November 15, 2026 06:31
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

Successfully merging this pull request may close these issues.

1 participant