Skip to content

Commit

Permalink
Update args.go (#1127)
Browse files Browse the repository at this point in the history
* Update args.go

add unit to --wait description.

Signed-off-by: jay vyas <jvyas@vmware.com>

* Update cmd/sonobuoy/app/args.go

Co-authored-by: Bridget McErlean <bridgetmcerlean@gmail.com>
Signed-off-by: jay vyas <jvyas@vmware.com>

Co-authored-by: Bridget McErlean <bridgetmcerlean@gmail.com>
  • Loading branch information
jayunit100 and zubron authored Aug 17, 2020
1 parent 47e90ec commit 086e048
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sonobuoy/app/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func AddDeleteWaitFlag(flag *int, flags *pflag.FlagSet) {
func AddRunWaitFlag(flag *int, flags *pflag.FlagSet) {
flags.IntVar(
flag, "wait", 0,
"Wait for sonobuoy run to be completed (or fail). 0 indicates do not wait. By providing --wait the default is to wait for 1 day.",
"How long (in minutes) to wait for sonobuoy run to be completed or fail, where 0 indicates do not wait. If specified, the default wait time is 1 day.",
)
flags.Lookup("wait").NoOptDefVal = "1440"
}
Expand Down

0 comments on commit 086e048

Please sign in to comment.