diff --git a/internal/listenCmd.go b/internal/listenCmd.go index 9c88d53..a6c4513 100644 --- a/internal/listenCmd.go +++ b/internal/listenCmd.go @@ -11,7 +11,7 @@ var listenCmd = &cobra.Command{ Use: "listen", Short: "Listen for events", RunE: func(cmd *cobra.Command, _ []string) error { - port, err := cmd.Flags().GetInt("service-port") + port, err := cmd.Flags().GetInt("svc-port") if err != nil { return fmt.Errorf("failed to get %v flag value. %w", "port", err) }