From 89cebec7001240044f7ed3b4152e9d8964de7a14 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 3 Aug 2025 23:55:55 +0200 Subject: [PATCH] cli: version flag description --- cmd/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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."` } )