fix help line

This commit is contained in:
Joffrey
2025-02-28 15:03:42 +01:00
committed by Ahmet Alp Balkan
parent 63ea64cdc7
commit 7fc9c21f4b

View File

@@ -40,7 +40,7 @@ func printUsage(out io.Writer) error {
%PROG% -c, --current : show the current namespace
%PROG% -h,--help : show this message
%PROG% -V,--version : show version
%PROG% -u,--unset : unset the current context`
%PROG% -u,--unset : unset the current context`
// TODO this replace logic is duplicated between this and kubectx
help = strings.ReplaceAll(help, "%PROG%", selfName())