Skip to content

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

Merged
dilshod merged 1 commit intodilshod:masterfrom
ferdinandyb:master
Dec 13, 2023
Merged

stdin: fix false no file test and add tests for stdin#271
dilshod merged 1 commit intodilshod:masterfrom
ferdinandyb:master

Conversation

@ferdinandyb
Copy link
Copy Markdown
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