added banner
This commit is contained in:
@@ -26,6 +26,12 @@ func main() {
|
|||||||
csvUpdater := flag.String("csv-updater", "", "Command to run to update the configuration CSV file")
|
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")
|
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)")
|
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()
|
flag.Parse()
|
||||||
|
|
||||||
retryDelay := time.Duration(*retryDelayMs) * time.Millisecond
|
retryDelay := time.Duration(*retryDelayMs) * time.Millisecond
|
||||||
|
|||||||
Reference in New Issue
Block a user