Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix handling of -0 #2235

Merged
merged 1 commit into from
Jun 6, 2023
Merged

fix handling of -0 #2235

merged 1 commit into from
Jun 6, 2023

Conversation

asottile
Copy link
Contributor

See #1373 -- this fixes the short option

I also added some tests since it didn't look like there were any for -0 or for --nul-output

@coveralls
Copy link

Coverage Status

Coverage increased (+0.05%) to 84.181% when pulling 4284158 on asottile:dash_0_fix into 80052e5 on stedolan:master.

Copy link
Contributor

@itchyny itchyny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@itchyny itchyny merged commit 6c5c8f2 into jqlang:master Jun 6, 2023
wader added a commit to wader/jq that referenced this pull request Jun 6, 2023
wader added a commit to wader/jq that referenced this pull request Jun 6, 2023
@asottile asottile deleted the dash_0_fix branch February 4, 2024 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants