Closed joedf closed 2 years ago
Thanks! Could you add an if-else check that the output is not empty. This way e.g. tere --help
should work correctly (please check that it does, I don't know how cmd handles stderr/stdout).
Note that I will be offline for a couple of weeks starting tomorrow so it will take a while before I can merge this.
No worries. Looks like like I forgot to pass on arguments, fixed now.
As for the empty check IF [%OUTPUT%] == [] goto :EOF
, there's no use for it to be there since the help text is processed. However, this is okay since cd
will simply do nothing.
Been using it since, works great no issues so far! 👍
I'm glad to hear that! Just one more question: does tere --version
or tere --help
work as expected?
I'm glad to hear that! Just one more question: does
tere --version
ortere --help
work as expected?
Yes, they do. Just tested again to be sure.
Thanks a lot! I'll rebase and then merge this.
Setup for CMD / Windows Command Prompt.