mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-17 20:10:24 +00:00
--help and --version update
This commit is contained in:
@@ -29,6 +29,8 @@ func main() {
|
||||
verbose = true
|
||||
case "--version", "-v":
|
||||
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
|
||||
case "--help", "-h":
|
||||
showHelp = true
|
||||
@@ -85,6 +87,7 @@ func main() {
|
||||
|
||||
func printUsage() {
|
||||
fmt.Print(`kctl-tui — Kubernetes entry-point TUI
|
||||
https://github.com/skoelle/kctl-tui
|
||||
|
||||
Usage:
|
||||
kctl-tui [flags] start the TUI (full navigation mode)
|
||||
|
||||
Reference in New Issue
Block a user