git-cl icon indicating copy to clipboard operation
git-cl copied to clipboard

`--help` not recognized

Open brandonpittman opened this issue 4 years ago • 1 comments

The -h flag works but the long --help doesn't seem to be valid.

CleanShot 2021-10-13 at 09 28 13@2x

brandonpittman avatar Oct 13 '21 00:10 brandonpittman

hmm, with some quick testing it seems to have something to do with when it is used as a git extension command, git cl --help vs when it is used as its own command git-cl --help.

I wonder if git is stripping the --help when used as a git extension because I am pretty sure git is executed as a binary and it is proxying to the extension command, in this case git-cl. So it must be doing something weird with the options.

drewdeponte avatar May 11 '22 15:05 drewdeponte