mirror of https://github.com/docker/cli.git
Adapt min-column width to component information
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
55ff66d967
commit
0f7ae34ea9
|
@ -204,7 +204,7 @@ func runVersion(dockerCli command.Cli, opts *versionOptions) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
|
func prettyPrintVersion(dockerCli command.Cli, vd versionInfo, tmpl *template.Template) error {
|
||||||
t := tabwriter.NewWriter(dockerCli.Out(), 15, 1, 1, ' ', 0)
|
t := tabwriter.NewWriter(dockerCli.Out(), 20, 1, 1, ' ', 0)
|
||||||
err := tmpl.Execute(t, vd)
|
err := tmpl.Execute(t, vd)
|
||||||
t.Write([]byte("\n"))
|
t.Write([]byte("\n"))
|
||||||
t.Flush()
|
t.Flush()
|
||||||
|
|
Loading…
Reference in New Issue