summaryrefslogtreecommitdiff
path: root/internal/askcli/command_fish.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/askcli/command_fish.go')
-rw-r--r--internal/askcli/command_fish.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/askcli/command_fish.go b/internal/askcli/command_fish.go
index f4ca9e0..401a9e2 100644
--- a/internal/askcli/command_fish.go
+++ b/internal/askcli/command_fish.go
@@ -10,12 +10,12 @@ import (
func (d *Dispatcher) handleFish(ctx context.Context, args []string, stdout, stderr io.Writer) (int, error) {
_ = ctx
if len(args) != 1 {
- fmt.Fprintln(stderr, "usage: ask fish")
+ fmt.Fprintln(stderr, "usage: do fish")
return 1, nil
}
binaryPath, err := os.Executable()
if err != nil {
- binaryPath = "ask"
+ binaryPath = "do"
}
if _, err := io.WriteString(stdout, FishCompletionFor(binaryPath)); err != nil {
return 1, err