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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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