RichiH/vcsh

vcsh help nonzero exit code?

lebedov opened this issue · 2 comments

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.

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".

Thanks to both of you!