Skip to content

Commit

Permalink
cli: default output to stdout, not a file
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyHinshaw committed Oct 4, 2024
1 parent 55155a8 commit 827cc15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ func bindFlags(c *cobra.Command, rootCmd *cmd) {
"The directory containing Go files to merge",
)
fs.StringVarP(&rootCmd.outfile,
"output", "o", "./converged.go",
"File to write the merged Go code",
"output", "o", "",
"File to write the merged Go code (default: stdout)",
)
fs.StringSliceVarP(&rootCmd.exclude,
"exclude", "e", nil,
Expand Down

0 comments on commit 827cc15

Please sign in to comment.