[ 
https://issues.apache.org/jira/browse/MNG-8423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904908#comment-17904908
 ] 

Tamas Cservenak commented on MNG-8423:
--------------------------------------

The {{--enc}} is meant as "hidden" command, unsure is it listed in -h.
Basically use just mvn or mvnenc (yes, mvn --enc is pretty much same as mvnenc).

> mvnenc --enc has no help
> ------------------------
>
>                 Key: MNG-8423
>                 URL: https://issues.apache.org/jira/browse/MNG-8423
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 4.0.0-rc-1
>            Reporter: James Nord
>            Priority: Minor
>
> the options to `mvnenv --enc` are undocumented in the CLI.
>  
> h3. steps to reproduce
>  * run {{mvnenc}} to work out what you need to do to setup password encrption
>  * note you are prompted to run {{mvnenc -h}} to get help as the options are 
> not correct
>  * inspect the help
>  * note that {{--enc}} is listed but sub options are not
>  * run `mvnenc --enc -h` to try and get more info
> h3. Expected results
>  * you get some more help about the sepcific options to mvn --enc
> h3. Actual results
>  * you get the generic help page
> h4. Notes
> {{mvnenc.cmd -enc}} gives you some goals (?!) to run and tells you to run -h. 
>  but I have to infer what these goals do 
> the same also applies for the goals... eg `mvnenc --enc init` will fail when 
> run again and then reveal the existance of the `-force` flag which is not 
> discoverable by other means



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to