From 6f7e866e930528732e38332ec16f4dd8ef2e0a75 Mon Sep 17 00:00:00 2001 From: Owen Date: Sat, 1 Nov 2025 18:39:53 -0700 Subject: [PATCH] Rename to run --- main.go | 2 +- olm/olm.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 1b59283..d297ef9 100644 --- a/main.go +++ b/main.go @@ -164,5 +164,5 @@ func main() { } func runOlmMain(ctx context.Context) { - olm.Olm(ctx, os.Args[1:]) + olm.Run(ctx, os.Args[1:]) } diff --git a/olm/olm.go b/olm/olm.go index d15ee20..8b38be7 100644 --- a/olm/olm.go +++ b/olm/olm.go @@ -22,7 +22,7 @@ import ( "golang.zx2c4.com/wireguard/wgctrl/wgtypes" ) -func Olm(ctx context.Context, args []string) { +func Run(ctx context.Context, args []string) { // Load configuration from file, env vars, and CLI args // Priority: CLI args > Env vars > Config file > Defaults config, showVersion, showConfig, err := LoadConfig(args)