mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
docs: improve -p help message (#4798)
I just improved the verbiage of the `build -p` switch: from: `Amount tasks to run concurrently (default: number of CPUs)` to: `Number of tasks to run concurrently (default: number of CPUs)`
This commit is contained in:
parent
9b8e82d915
commit
e21a99a54b
@ -87,7 +87,7 @@ When using ` + "`--single-target`" + `, the ` + "`GOOS`" + ` and ` + "`GOARCH`"
|
||||
cmd.Flags().BoolVar(&root.opts.skipPostHooks, "skip-post-hooks", false, "Skips all post-build hooks")
|
||||
cmd.Flags().BoolVar(&root.opts.clean, "clean", false, "Removes the 'dist' directory before building")
|
||||
cmd.Flags().BoolVar(&root.opts.rmDist, "rm-dist", false, "Removes the 'dist' directory before building")
|
||||
cmd.Flags().IntVarP(&root.opts.parallelism, "parallelism", "p", 0, "Amount tasks to run concurrently (default: number of CPUs)")
|
||||
cmd.Flags().IntVarP(&root.opts.parallelism, "parallelism", "p", 0, "Number of tasks to run concurrently (default: number of CPUs)")
|
||||
_ = cmd.RegisterFlagCompletionFunc("parallelism", cobra.NoFileCompletions)
|
||||
cmd.Flags().DurationVar(&root.opts.timeout, "timeout", 30*time.Minute, "Timeout to the entire build process")
|
||||
_ = cmd.RegisterFlagCompletionFunc("timeout", cobra.NoFileCompletions)
|
||||
|
Loading…
x
Reference in New Issue
Block a user