Re: [PATCH v2] [GSOC] cherry-pick: fix bug when used with GIT_CHERRY_PICK_HELP
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 28, 2021, 17:26 UTC
- Message-ID
- <xmqqmtq69wpd.fsf@gitster.g>
- In-Reply-To
- <CAOLTT8SR86q+q37traSpk7iWEzAaGTtZzAWrck+0LnqgSefKRA@mail.gmail.com>
ZheNing Hu <adlternative@gmail.com> writes:
> Just use a PARSE_OPT_HIDDEN cannot prevent the user from using > the option... Is there a better way?
If a command can be invoked from a script, you can invoke it interactively the same way. Not advertising on short help, not completing in the completion and documenting it for internal use is the standard arrangement for such "implementation detail only" options.