Skip to content

Commit

Permalink
Update sky/cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Romil Bhardwaj <[email protected]>
  • Loading branch information
cblmemo and romilbhardwaj authored Sep 16, 2023
1 parent 3c88d1d commit 6b88e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sky/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ def status(all: bool, refresh: bool, ip: bool, show_spot_jobs: bool,
raise RuntimeError(
f'{len(cluster_records)} cluster found. Please specify '
'exactly one cluster (or glob that only matches one '
'cluster) to show its IP address.')
'cluster) to show its IP address. \nUsage: `sky status --ip <cluster>`')
cluster_record = cluster_records[0]
if cluster_record['status'] != status_lib.ClusterStatus.UP:
with ux_utils.print_exception_no_traceback():
Expand Down

0 comments on commit 6b88e5b

Please sign in to comment.