We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f75059 + 2f79598 commit 63f5930Copy full SHA for 63f5930
docs/generate/generate.go
@@ -5,14 +5,14 @@
5
package main
6
7
import (
8
+ "errors"
9
"log"
10
"os"
11
12
clidocstool "github.com/docker/cli-docs-tool"
13
"github.com/docker/cli/cli"
14
"github.com/docker/cli/cli/command"
15
"github.com/docker/cli/cli/command/commands"
- "github.com/pkg/errors"
16
"github.com/spf13/cobra"
17
"github.com/spf13/pflag"
18
)
@@ -64,7 +64,7 @@ func gen(opts *options) error {
64
return err
65
}
66
default:
67
- return errors.Errorf("unknown format %q", format)
+ return errors.New("unknown format: " + format)
68
69
70
0 commit comments