Skip to content

Commit 775358c

Browse files

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

serve/destination.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func newCmdDestinationServe(destination *destinationServe) *cobra.Command {
139139

140140
func newCmdDestinationRoot(destination *destinationServe) *cobra.Command {
141141
cmd := &cobra.Command{
142-
Use: "destination-plugin <command>",
142+
Use: fmt.Sprintf("%s <command>", destination.plugin.Name()),
143143
}
144144
cmd.AddCommand(newCmdDestinationServe(destination))
145145
cmd.CompletionOptions.DisableDefaultCmd = true

serve/source.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func newCmdSourceDoc(source *sourceServe) *cobra.Command {
155155

156156
func newCmdSourceRoot(source *sourceServe) *cobra.Command {
157157
cmd := &cobra.Command{
158-
Use: "source-plugin <command>",
158+
Use: fmt.Sprintf("%s <command>", source.plugin.Name()),
159159
}
160160
cmd.AddCommand(newCmdSourceServe(source))
161161
cmd.AddCommand(newCmdSourceDoc(source))

0 commit comments

Comments
 (0)