diff --git a/strix/interface/cloud/session.py b/strix/interface/cloud/session.py index 98fb548c1..519e1abd9 100644 --- a/strix/interface/cloud/session.py +++ b/strix/interface/cloud/session.py @@ -134,7 +134,7 @@ def _run_scopes_set(console: Console, argv: list[str]) -> int: http.CloudError( "the platform updated the session scopes, but the local session " f"metadata could not be stored: {exc}. Check the active scopes with " - "`strix cloud session show`; fix local storage and rerun the same " + "`strix cloud session scopes`; fix local storage and rerun the same " "scopes set command to refresh the stored metadata.", payload={"scopes_updated": True, "local_record_updated": False}, ), diff --git a/tests/test_cloud_session.py b/tests/test_cloud_session.py index 8789a36aa..bca98caf5 100644 --- a/tests/test_cloud_session.py +++ b/tests/test_cloud_session.py @@ -162,7 +162,7 @@ def test_session_scope_update_reports_local_storage_failure( assert payload["local_record_updated"] is False output = payload["error"] assert "disk full" in output - assert "session show" in output + assert "session scopes" in output assert "platform updated the session scopes" in output assert calls == [("PATCH", "/cli/session")] assert auth_path.read_text(encoding="utf-8") == before