Skip to content

Commit 7e1aed3

Browse files
committed
v2/cli: remove the --version flag
We have a command for getting the binary version and the flag only returns a hardcoded v2.0.0.
1 parent 85b95c4 commit 7e1aed3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

v2/internal/pkg/cli/executor.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ func NewMirrorCmd(log clog.PluggableLoggerInterface) *cobra.Command {
186186

187187
cmd := &cobra.Command{
188188
Use: fmt.Sprintf("%s %s", filepath.Base(os.Args[0]), usage),
189-
Version: "v2.0.0",
190189
Short: "Mirror container images using a declarative configuration file as an input.",
191190
Long: mirrorlongDesc,
192191
Example: mirrorExamples,

0 commit comments

Comments
 (0)