google / wire

Compile-time Dependency Injection for Go

Repository from Github https://github.comgoogle/wireRepository from Github https://github.comgoogle/wire

Typo in CLI usage string for diff subcommand

mickeyreiss opened this issue · comments

Describe the bug

I believe there is a typo here:

wire/cmd/wire/main.go

Lines 182 to 193 in 0ac8450

func (*diffCmd) Usage() string {
return `diff [packages]
Given one or more packages, diff generates the content for their wire_gen.go
files and outputs the diff against the existing files.
If no packages are listed, it defaults to ".".
Similar to the diff command, it returns 0 if no diff, 1 if different, 2
plus an error if trouble.
`
}

To Reproduce

Run wire diff -h.

Expected behavior

Similar to the **diff** command should probably read Similar to the **check** command

Version

0.5.0

Additional context

Add any other context about the problem here.