Skip to content

Commit

Permalink
fix: correct typos in command line flag help
Browse files Browse the repository at this point in the history
  • Loading branch information
haikoschol committed Aug 6, 2018
1 parent 3d56e0d commit 5a7bbf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gosrc/resolve-deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ func prettyPrintJSON(j interface{}) {

func main() {
flag.Usage = func() {
fmt.Println(` Scans the imports from all Go pacakges (and subpackages) rooted in current dir,
fmt.Println(` Scans the imports from all Go packages (and subpackages) rooted in current dir,
and prints the dependency graph in a JSON format that can be imported via npmjs.com/graphlib.
`)
flag.PrintDefaults()
fmt.Println("")
}
var ignoredPkgs = flag.String("ignoredPkgs", "", "Comma seperated list of packges (cannonically named) to ignore when scanning subfolders")
var ignoredPkgs = flag.String("ignoredPkgs", "", "Comma separated list of packages (canonically named) to ignore when scanning subfolders")
var outputDOT = flag.Bool("dot", false, "Output as Graphviz DOT format")
var outputList = flag.Bool("list", false, "Output a flat JSON array of all reachable deps")
flag.Parse()
Expand Down

0 comments on commit 5a7bbf2

Please sign in to comment.