Closed endorama closed 4 years ago
This is definitely non-ideal behavior.
IIRC the pretty-print flag for jq is implicitly set based on other flags, so that this cannot happen (pretty can never be enabled if raw is enabled).
This seems like an easy enough fix, just add some validation to override the pretty flag when someone sets raw.
This seems like an easy enough fix, just add some validation to override the pretty flag when someone sets raw
Happy to try to fix it, I'll give a go by next week.
Oh, no pressure! Don't feel obligated just because you made the issue.
Fixed in #73
Hello, I started using
faq
but I found what I think is an issue.When using
raw
output mode,faq
breaks trying to pretty encode the output. I would have expected thatraw
output would override all enhancements to the output, but it does not seem the case.How to reproduce:
Adding
--pretty-output=false
to the above command makes it work:Is this the expected
--raw-output
behaviour?