Skip to content

Fix --show-snippet option silently consuming next CLI argument#11684

Open
alies-dev wants to merge 1 commit intovimeo:6.xfrom
alies-dev:fix/show-snippet-optional-value
Open

Fix --show-snippet option silently consuming next CLI argument#11684
alies-dev wants to merge 1 commit intovimeo:6.xfrom
alies-dev:fix/show-snippet-optional-value

Conversation

@alies-dev
Copy link
Contributor

@alies-dev alies-dev commented Feb 25, 2026

  • Fix --show-snippet long option definition: use double colon (::, optional value) instead of single colon (:, required value)
  • This prevents getopt() from silently consuming the next CLI argument as --show-snippet's value

Fixes #11683

The show-snippet long option was defined with a single colon (required
value) instead of double colon (optional value), causing getopt() to
silently consume the next argument as its value.

Fixes vimeo#11683

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Bug: --show-snippet option definition uses single colon instead of double colon, silently consuming the next CLI argument

1 participant