--help and --version update

This commit is contained in:
2026-08-11 12:31:39 +02:00
parent a3480f41bf
commit d8d656504c
+3
View File
@@ -29,6 +29,8 @@ func main() {
verbose = true verbose = true
case "--version", "-v": case "--version", "-v":
fmt.Printf("kctl-tui %s\n", version) fmt.Printf("kctl-tui %s\n", version)
fmt.Println("Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de)")
fmt.Println("Licensed under the MIT License")
return return
case "--help", "-h": case "--help", "-h":
showHelp = true showHelp = true
@@ -85,6 +87,7 @@ func main() {
func printUsage() { func printUsage() {
fmt.Print(`kctl-tui — Kubernetes entry-point TUI fmt.Print(`kctl-tui — Kubernetes entry-point TUI
https://github.com/skoelle/kctl-tui
Usage: Usage:
kctl-tui [flags] start the TUI (full navigation mode) kctl-tui [flags] start the TUI (full navigation mode)