On Mon, Jun 17, 2024 at 10:52 PM Will Faught <will.fau...@gmail.com> wrote:
>
> > People who already know what the command does can use that short summary to 
> > remind themselves of the available options.
>
> Which options do you mean? My point was that it doesn't document any options.

Oh, sorry, I see what you mean.  That's true, that isn't very helpful.
Want to send a patch?

Ian

> On Mon, Jun 17, 2024 at 5:57 PM Ian Lance Taylor <i...@golang.org> wrote:
>>
>> On Mon, Jun 17, 2024 at 5:28 PM will....@gmail.com
>> <will.fau...@gmail.com> wrote:
>> >
>> > ❯ go clean -h
>> > usage: go clean [clean flags] [build flags] [packages]
>> > Run 'go help clean' for details.
>> >
>> > This just tells me to invoke another help command.
>> >
>> > The flags package has the opinion that command help should print the doc 
>> > for flags. Shouldn't we do that for go clean -h too?
>>
>> The intent is that "go clean -h" prints a short summary.  People who
>> already know what the command does can use that short summary to
>> remind themselves of the available options.  For people who don't know
>> what the command does, there is "go help clean".
>>
>> Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcVBDMqrEVctMSykcrgD5uCR_y%2Beu1G8PPd691%3D8jDteRQ%40mail.gmail.com.

Reply via email to