diff --git a/cmd/main.go b/cmd/main.go index 4be53e67..6d514f22 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -15,10 +15,10 @@ import ( var ( version = "dev" cli struct { - Version kong.VersionFlag - Serve ServeCmd `cmd:"" help:"Starts Diun server."` - Image ImageCmd `cmd:"" help:"Manage image manifests."` - Notif NotifCmd `cmd:"" help:"Manage notifications."` + Version kong.VersionFlag `name:"version" help:"Print version information."` + Serve ServeCmd `cmd:"" help:"Starts Diun server."` + Image ImageCmd `cmd:"" help:"Manage image manifests."` + Notif NotifCmd `cmd:"" help:"Manage notifications."` } )