From b5916957227fd26b6d365629f73c524dd7d079f3 Mon Sep 17 00:00:00 2001 From: rsteube Date: Tue, 3 Oct 2023 14:32:57 +0200 Subject: [PATCH] doc: ActionCommands - fix example --- docs/src/carapace/defaultActions/actionCommands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/carapace/defaultActions/actionCommands.md b/docs/src/carapace/defaultActions/actionCommands.md index b078bc2e3..f5561d56d 100644 --- a/docs/src/carapace/defaultActions/actionCommands.md +++ b/docs/src/carapace/defaultActions/actionCommands.md @@ -8,7 +8,7 @@ ```go carapace.Gen(helpCmd).PositionalAnyCompletion( - carapace.ActionCommands(cmd), + carapace.ActionCommands(rootCmd), ) ```