We're going to introduce several other show-* commands later,
and we want their output to be more or less consistent, so
start by tweaking the existing command.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/quayadmin | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guests/quayadmin b/guests/quayadmin
index 3e6cc87..536fbaf 100755
--- a/guests/quayadmin
+++ b/guests/quayadmin
@@ -88,7 +88,10 @@ def run_show_repo(args):
info = res.json()
- print("{}/{}: {}".format(args.namespace, args.repo,
info["description"]))
+ print("repo:")
+ print(" namespace: {}".format(args.namespace))
+ print(" repo: {}".format(args.repo))
+ print(" description: {}".format(info["description"]))
def run_create_repo(args):
--
2.21.0