From 4335285a646bf772e87838476257ea5b3146dcbf Mon Sep 17 00:00:00 2001 From: sec65 <106604020+sec65@users.noreply.github.com> Date: Wed, 13 Jul 2022 23:11:17 +0200 Subject: [PATCH] cmd/syncthing/cli: Add show discovery command (fixes #8007) (#8378) --- cmd/syncthing/cli/show.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/syncthing/cli/show.go b/cmd/syncthing/cli/show.go index dc739250a..b49f6b1d1 100644 --- a/cmd/syncthing/cli/show.go +++ b/cmd/syncthing/cli/show.go @@ -35,6 +35,11 @@ var showCommand = cli.Command{ Usage: "Report about connections to other devices", Action: expects(0, indexDumpOutput("system/connections")), }, + { + Name: "discovery", + Usage: "Show the discovered addresses of remote devices (from cache of the running syncthing instance)", + Action: expects(0, indexDumpOutput("system/discovery")), + }, pendingCommand, { Name: "usage",