Skip to content

Commit 0b8fcea

Browse files
author
Katrina Owen
authored
Merge pull request #797 from jdsutherland/submit-handles-no-args
Fix panic when submit not given args
2 parents 4924d44 + 51f1668 commit 0b8fcea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/submit.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ var submitCmd = &cobra.Command{
2828
2929
Call the command with the list of files you want to submit.
3030
`,
31+
Args: cobra.MinimumNArgs(1),
3132
RunE: func(cmd *cobra.Command, args []string) error {
3233
cfg := config.NewConfig()
3334

0 commit comments

Comments
 (0)