fix: change MaximumNArgs from 2 to 1 in run view.go
This commit is contained in:
parent
0fa168b80b
commit
cc554135e8
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
|
|||
cmd := &cobra.Command{
|
||||
Use: "view [<run-id>]",
|
||||
Short: "View a summary of a workflow run",
|
||||
Args: cobra.MaximumNArgs(2),
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Example: heredoc.Doc(`
|
||||
# Interactively select a run to view, optionally selecting a single job
|
||||
$ gh run view
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue