diff --git a/main.go b/main.go index 5f36ccd..76bcc0d 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,12 @@ func main() { csvUpdater := flag.String("csv-updater", "", "Command to run to update the configuration CSV file") csvUpdateInterval := flag.Int("csv-update-interval", 10, "Interval in minutes with which to run the CSV updater command") retryDelayMs := flag.Int("retry-delay", 100, "Base delay in milliseconds for Fibonacci failover retries (0 to disable)") + flag.Usage = func() { + fmt.Fprintln(flag.CommandLine.Output(), "Dynagate LLM gateway by Luxferre (https://luxferre.top)") + fmt.Fprintln(flag.CommandLine.Output()) + fmt.Fprintf(flag.CommandLine.Output(), "Usage of %s:\n", os.Args[0]) + flag.PrintDefaults() + } flag.Parse() retryDelay := time.Duration(*retryDelayMs) * time.Millisecond