From c39c6e8d86706c24d8001f5ffa90e60e64212776 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 5 Jan 2020 15:00:08 -0500 Subject: [PATCH] Mention what to do if no cluster found --- client-cli/pvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-cli/pvc.py b/client-cli/pvc.py index ce0c4b17..6f9fb3f4 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -80,7 +80,7 @@ def get_config(store_data, cluster=None): if os.path.isfile(cfgfile): host, port, scheme = read_from_yaml(cfgfile) else: - print('No cluster specified and no local pvc-api.yaml configuration found.') + click.echo('No cluster specified and no local pvc-api.yaml configuration found. Use "pvc cluster" to add a cluster API to connect to.') return { 'badcfg': True } else: # This is a static configuration, get the raw details