Skip to content

Commit

Permalink
tools/awssdkpatch: tidy help text (#36871)
Browse files Browse the repository at this point in the history
The `out` help text included a redundant description of the default value
  • Loading branch information
jar-b authored Apr 11, 2024
1 parent 6d4505f commit dcffaa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/awssdkpatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Usage: awssdkpatch [flags]
Flags:
-out string
output file (optional, defaults to "awssdk.patch") (default "awssdk.patch")
output file (optional) (default "awssdk.patch")
-service string
service to migrate (required)
```
Expand Down
2 changes: 1 addition & 1 deletion tools/awssdkpatch/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [flags]\n\nFlags:\n", os.Args[0])
flag.PrintDefaults()
}
flag.StringVar(&out, "out", "awssdk.patch", `output file (optional, defaults to "awssdk.patch")`)
flag.StringVar(&out, "out", "awssdk.patch", "output file (optional)")
flag.StringVar(&service, "service", "", "service to migrate (required)")
flag.Parse()

Expand Down

0 comments on commit dcffaa8

Please sign in to comment.