cmd/syncthing/cli: Add show discovery command (fixes #8007) (#8378)

This commit is contained in:
sec65
2022-07-13 23:11:17 +02:00
committed by GitHub
parent 34c05bee6d
commit 4335285a64

View File

@@ -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",