From d63d5ac778712c9bfe1192f16e9a218d590a0a58 Mon Sep 17 00:00:00 2001 From: abs3nt Date: Sun, 27 Oct 2024 10:46:17 -0700 Subject: [PATCH] naming mismatch --- src/components/cli/cli.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/cli/cli.go b/src/components/cli/cli.go index 054d1d6..499460c 100644 --- a/src/components/cli/cli.go +++ b/src/components/cli/cli.go @@ -92,7 +92,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) { if cmd.Args().Present() { return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) } - return sendCommandRPC("PrintLink", daemon.LinkArgs{}) + return sendCommandRPC("Link", daemon.LinkArgs{}) }, Category: "Sharing", }, @@ -104,7 +104,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) { if cmd.Args().Present() { return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) } - return sendCommandRPC("PrintLinkContext", daemon.LinkContextArgs{}) + return sendCommandRPC("LinkContext", daemon.LinkContextArgs{}) }, Category: "Sharing", }, @@ -116,7 +116,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) { if cmd.Args().Present() { return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) } - return sendCommandRPC("PrintYoutubeLink", daemon.YoutubeLinkArgs{}) + return sendCommandRPC("YoutubeLink", daemon.YoutubeLinkArgs{}) }, Category: "Sharing", }, @@ -342,7 +342,7 @@ func Run(c *commands.Commander, s fx.Shutdowner) { if cmd.Args().Present() { return fmt.Errorf("unexpected arguments: %s", strings.Join(cmd.Args().Slice(), " ")) } - return sendCommandRPC("ListDevices", daemon.ListDevicesArgs{}) + return sendCommandRPC("Devices", daemon.ListDevicesArgs{}) }, Category: "Info", },