From 96393139b2bcc14c194565453fc25d00758828b6 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 19 Dec 2024 22:44:41 -0500 Subject: [PATCH] kwok: fix `base_name` for shell completion Signed-off-by: Rui Chen --- Formula/k/kwok.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/k/kwok.rb b/Formula/k/kwok.rb index fdb5edabad082..36a89d2939dc3 100644 --- a/Formula/k/kwok.rb +++ b/Formula/k/kwok.rb @@ -24,7 +24,7 @@ def install bin.install "bin/#{OS.kernel_name.downcase}/#{arch}/kwok" bin.install "bin/#{OS.kernel_name.downcase}/#{arch}/kwokctl" - generate_completions_from_executable("#{bin}/kwokctl", "completion") + generate_completions_from_executable("#{bin}/kwokctl", "completion", base_name: "kwokctl") end test do