Rename to run

Former-commit-id: 6f7e866e93
This commit is contained in:
Owen
2025-11-01 18:39:53 -07:00
parent ba25586646
commit f9adde6b1d
2 changed files with 2 additions and 2 deletions

View File

@@ -164,5 +164,5 @@ func main() {
}
func runOlmMain(ctx context.Context) {
olm.Olm(ctx, os.Args[1:])
olm.Run(ctx, os.Args[1:])
}

View File

@@ -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)