From d87bc2678ca693477ccca4e659666cbaf20da453 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 5 Feb 2026 15:42:07 +0000 Subject: [PATCH] add short Config flags --- main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 930101b..ee60ae8 100644 --- a/main.go +++ b/main.go @@ -32,9 +32,9 @@ type context struct { } type Config struct { - Host string `default:"mixer.local" help:"The host of the X-Air device." env:"XAIR_CLI_HOST"` - Port int `default:"10024" help:"The port of the X-Air device." env:"XAIR_CLI_PORT"` - Kind string `default:"xr18" help:"The kind of the X-Air device." env:"XAIR_CLI_KIND"` + Host string `default:"mixer.local" help:"The host of the X-Air device." env:"XAIR_CLI_HOST" short:"H"` + Port int `default:"10024" help:"The port of the X-Air device." env:"XAIR_CLI_PORT" short:"P"` + Kind string `default:"xr18" help:"The kind of the X-Air device." env:"XAIR_CLI_KIND" short:"K"` } // CLI is the main struct for the command-line interface.