chore: output top header in all caps

This changes the top output to be consistent with the rest of the CLI
output.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-08-28 00:53:18 +00:00
parent 83b978c983
commit 4247b1befc

View File

@ -190,7 +190,7 @@ func topOutput(ctx context.Context, c *client.Client) (output string, err error)
}
s := make([]string, 0, len(procs))
s = append(s, "PID | State | Threads | CPU Time | VirtMem | ResMem | Command")
s = append(s, "PID | STATE | THREADS | CPU-TIME | VIRTMEM | RESMEM | COMMAND")
var cmdline string
for _, p := range procs {
switch {