Force wrap line for cluster-show
This makes the cluster-show details mostly readable. Work still needs to be done to format it more cleanly. Change-Id: I04f42ad95c53fddccc7ffaf43142f28a6c554f4a
This commit is contained in:
@@ -216,7 +216,8 @@ def do_cluster_show(cs, args):
|
||||
"""Show details of a cluster."""
|
||||
cluster = cs.clusters.get(args.id)
|
||||
# TODO(mattf): Make this pretty, e.g format node_groups and info urls
|
||||
utils.print_dict(cluster._info)
|
||||
# Forcing wrap=47 allows for clean display on a terminal of width 80
|
||||
utils.print_dict(cluster._info, wrap=47)
|
||||
|
||||
|
||||
# TODO(mattf): Add --name
|
||||
|
||||
Reference in New Issue
Block a user