mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-06-23 05:59:00 +00:00
fix help line
This commit is contained in:
parent
4f4a0418f9
commit
d0ed9c007e
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user