fix help line

This commit is contained in:
Joffrey 2025-02-28 15:03:42 +01:00
parent 4f4a0418f9
commit d0ed9c007e

View File

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