Skip to content

Don't ignore output option without input option#81

Open
kevinoid wants to merge 1 commit intovasi:masterfrom
kevinoid:output-option-without-input-option
Open

Don't ignore output option without input option#81
kevinoid wants to merge 1 commit intovasi:masterfrom
kevinoid:output-option-without-input-option

Conversation

@kevinoid
Copy link
Copy Markdown

@kevinoid kevinoid commented Dec 2, 2018

Currently, if the -o option is given without the -i option, it is silently ignored. I think this behavior is unintuitive and I can't find it mentioned anywhere in the documentation.

This PR changes the behavior to respect -o even without -i, which I find to be much more reasonable.

Thanks for considering,
Kevin

Previously, if the -o option was given without the -i option, it would
be silently ignored.  This behavior is unintuitive and undocumented.
This commit changes the behavior to respect -o even without -i.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
@wookietreiber
Copy link
Copy Markdown
Collaborator

I think, we should add some integration tests about this behavior. I'll take a look at it.

@wookietreiber wookietreiber self-assigned this Dec 3, 2018
@wookietreiber wookietreiber removed their assignment Sep 27, 2023
rescbr added a commit to rescbr/pixz that referenced this pull request Feb 14, 2026
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.

2 participants