mirror of
https://github.com/ahmetb/kubectx.git
synced 2026-03-16 19:02:14 +00:00
fix help line
This commit is contained in:
committed by
Ahmet Alp Balkan
parent
63ea64cdc7
commit
7fc9c21f4b
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user