vcsh help nonzero exit code?
lebedov opened this issue · 2 comments
lebedov commented
I noticed that running vcsh help
in bash results in an exit code of 1. Is that intentional? Oddly, if I specify the illegal option -h
, the help is displayed with an exit code of 0.
I'm using vcsh 1.20151229.
alerque commented
Thanks for reporting this, it was just a logic bug. The case of vcsh <repo name>
without a command (which defaults to "enter" was catching this before the fall through that was assumed to catch "help".
RichiH commented
Thanks to both of you!