diff --git a/cmd/crane/cmd/rebase.go b/cmd/crane/cmd/rebase.go index b74a5d843..43f21b533 100644 --- a/cmd/crane/cmd/rebase.go +++ b/cmd/crane/cmd/rebase.go @@ -35,7 +35,7 @@ func NewCmdRebase(options *[]crane.Option) *cobra.Command { rebaseCmd := &cobra.Command{ Use: "rebase", Short: "Rebase an image onto a new base image", - Args: cobra.MaximumNArgs(1), + Args: cobra.MinimumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { if orig == "" { orig = args[0]