Merge pull request #12053 from 2003Aditya/fix-interval
Fix `--interval` flags docs in `gh pr checks`
This commit is contained in:
commit
757a6dece4
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ func NewCmdChecks(f *cmdutil.Factory, runF func(*ChecksOptions) error) *cobra.Co
|
|||
cmd.Flags().BoolVarP(&opts.WebMode, "web", "w", false, "Open the web browser to show details about checks")
|
||||
cmd.Flags().BoolVarP(&opts.Watch, "watch", "", false, "Watch checks until they finish")
|
||||
cmd.Flags().BoolVarP(&opts.FailFast, "fail-fast", "", false, "Exit watch mode on first check failure")
|
||||
cmd.Flags().IntVarP(&interval, "interval", "i", 10, "Refresh interval in seconds when using `--watch` flag")
|
||||
cmd.Flags().IntVarP(&interval, "interval", "i", 10, "Refresh interval in seconds in watch mode")
|
||||
cmd.Flags().BoolVar(&opts.Required, "required", false, "Only show checks that are required")
|
||||
|
||||
cmdutil.AddJSONFlags(cmd, &opts.Exporter, prCheckFields)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue