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

stdin: fix false no file test and add tests for stdin #271

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

ferdinandyb
Copy link
Contributor

Commit 5a14efc broke input from stdin, with the check added for actually existing files. Add an exception when the file input is "-" so reading from stdin works again. The original commit that introduced this feature did not include documentation. Add documentation to "--help", manpages and the README. Add testing for reading from stdin with python3 so future commits will not break the feature unintentionally.

Fixes: #270

Commit 5a14efc broke input from stdin, with the check added for
actually existing files. Add an exception when the file input is "-" so
reading from stdin works again. The original commit that introduced this
feature did not include documentation. Add documentation to "--help",
manpages and the README. Add testing for reading from stdin with python3
so future commits will not break the feature unintentionally.

Fixes: dilshod#270
@dilshod dilshod merged commit 4384f2b into dilshod:master Dec 13, 2023
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.

STDIN input broken
2 participants