aboutsummaryrefslogtreecommitdiffstats
path: root/cmd-misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-misc.go')
-rw-r--r--cmd-misc.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd-misc.go b/cmd-misc.go
index 1a5d6d4..e8fe61f 100644
--- a/cmd-misc.go
+++ b/cmd-misc.go
@@ -39,7 +39,8 @@ func xdsVersion(ctx *cli.Context) error {
}
writer := NewTableWriter()
- fmt.Fprintln(writer, "Agent ID:\t", ver.Client.ID)
+ fmt.Fprintln(writer, "Agent:")
+ fmt.Fprintln(writer, " ID:\t", ver.Client.ID)
v := ver.Client.Version
if verbose {
v += " (" + ver.Client.VersionGitTag + ")"
@@ -50,7 +51,8 @@ func xdsVersion(ctx *cli.Context) error {
}
for _, svr := range ver.Server {
- fmt.Fprintln(writer, "Server ID:\t", svr.ID)
+ fmt.Fprintln(writer, "Server:")
+ fmt.Fprintln(writer, " ID:\t", svr.ID)
v = svr.Version
if verbose {
v += " (" + svr.VersionGitTag + ")"