mirror of
https://github.com/golang/go
synced 2024-11-26 10:18:12 -07:00
[-src] to [doc flags]
This commit is contained in:
parent
33ccad969f
commit
20aaec3aa0
@ -293,7 +293,7 @@
|
||||
//
|
||||
// Usage:
|
||||
//
|
||||
// go doc [-u] [-src] [-c] [package|[package.]symbol[.methodOrField]]
|
||||
// go doc [doc flags] [package|[package.]symbol[.methodOrField]]
|
||||
//
|
||||
// Doc prints the documentation comments associated with the item identified by its
|
||||
// arguments (a package, const, func, type, var, method, or struct field)
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
|
||||
var CmdDoc = &base.Command{
|
||||
Run: runDoc,
|
||||
UsageLine: "go doc [-u] [-src] [-c] [package|[package.]symbol[.methodOrField]]",
|
||||
UsageLine: "go doc [doc flags] [package|[package.]symbol[.methodOrField]]",
|
||||
CustomFlags: true,
|
||||
Short: "show documentation for package or symbol",
|
||||
Long: `
|
||||
|
Loading…
Reference in New Issue
Block a user