From f01c536c55beb7c7296d3882528b5cc5fba425d4 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Sun, 23 Dec 2018 13:42:50 +0100 Subject: [PATCH] kubectx: remove options --- Formula/kubectx.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Formula/kubectx.rb b/Formula/kubectx.rb index e0e74ccfb5..380f5676ee 100644 --- a/Formula/kubectx.rb +++ b/Formula/kubectx.rb @@ -7,13 +7,10 @@ class Kubectx < Formula bottle :unneeded - option "with-short-names", "link as \"kctx\" and \"kns\" instead" - - depends_on "kubernetes-cli" => :recommended + depends_on "kubernetes-cli" def install - bin.install "kubectx" => build.with?("short-names") ? "kctx" : "kubectx" - bin.install "kubens" => build.with?("short-names") ? "kns" : "kubens" + bin.install "kubectx", "kubens" bash_completion.install "completion/kubectx.bash" => "kubectx" bash_completion.install "completion/kubens.bash" => "kubens"