red-balloon-89377
10/03/2018, 2:28 PM--myflag that is registered by task zinc in goal compile will be used as ./pants --compile-zinc-myflag=<something> <goal> <target(s)>. However, sometimes it’s not very comfortable to write those long flags. Another way to specify “I want this flag to apply to the zinc task inside the compile goal” is to use the syntax that you mentioned `./pants compile.zinc --myflag=<value> <target(s)>. This is explained in the docs around the third and fourth code blocks in section “*How to Use Shorthand Flags*“.