From f6cb2d99d1c3263746115349137706d9f5049698 Mon Sep 17 00:00:00 2001 From: Julian Hofer Date: Sun, 17 Sep 2023 15:23:38 +0200 Subject: [PATCH] Reflect the rename from caraparse to carapace-parse It would still be great if it would be documented how to install carapace-parse on you system --- cmd/carapace-parse/cmd/root.go | 2 +- docs/src/development/creatingCompleters.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/carapace-parse/cmd/root.go b/cmd/carapace-parse/cmd/root.go index 31cde02a39..3b52b96580 100644 --- a/cmd/carapace-parse/cmd/root.go +++ b/cmd/carapace-parse/cmd/root.go @@ -16,7 +16,7 @@ import ( var rootCmd = &cobra.Command{ Use: "carapace-parse", - Short: "GNU help parser.\n(e.g. 'ln --help | ./caraparse -n ln')", + Short: "GNU help parser.\n(e.g. 'ln --help | ./carapace-parse -n ln')", Run: func(cmd *cobra.Command, args []string) { name, _ := cmd.Flags().GetString("name") parent, _ := cmd.Flags().GetString("parent") diff --git a/docs/src/development/creatingCompleters.md b/docs/src/development/creatingCompleters.md index dc547ef8ad..a705310ed5 100644 --- a/docs/src/development/creatingCompleters.md +++ b/docs/src/development/creatingCompleters.md @@ -8,7 +8,7 @@ cp -r completers/cp_completer completers/ln_completer - update the package name in `main.go` - replace `root.go` ```sh -ln --help | caraparse -n ln > completers/ln_completer/cmd/root.go +ln --help | carapace-parse -n ln > completers/ln_completer/cmd/root.go ``` - fix issues and add completions as required ```go