Closed esell closed 6 years ago
It looks like you unfortunately reformatted the whole thing. I would prefer sticking with the current layout, or at least doing it in a separate pull request. I know that it's going to be a pain to undo that though, and I'm afraid I can't help you there. That's one of the reasons I stopped auto formatting my code.
For the last thing, you can probably just remove takes_value
and check if the match exists at all.
Fixed the formatting, sorry about that. I changed the newline
parameter also. Still looking at why the extra block is added...
If you don't like the way things are going feel free to say "no" haha.
Awesome, now the code is as minimal as it has to be. 😄
If this is what you wanted, tell me to merge.
Otherwise, tell me and I'll undo my changes.
This is likely pretty horrible but I thought I'd give it a go. A few things are broken and I haven't quite figured them out:
--newline 1/0
. really it should just need the--newline
flag