From: Junio C Hamano Date: Wed, 28 Jul 2021 17:26:06 GMT Subject: Re: [PATCH v2] [GSOC] cherry-pick: fix bug when used with GIT_CHERRY_PICK_HELP Message-ID: In-Reply-To: ZheNing Hu 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.