From 1bce19fd8c91f47707710812c09da5dc1b5aca8e Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Tue, 23 Jul 2024 15:32:46 +0200 Subject: [PATCH] remote/client: suggest non-deprecated env var LG_PLACE instead of PLACE Since 06746168 ("remote/client: support env variables in namespace") the PLACE environment variable is deprecated in favor of LG_PLACE. So suggest LG_PLACE rather than PLACE. Signed-off-by: Bastian Krause --- labgrid/remote/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labgrid/remote/client.py b/labgrid/remote/client.py index 8b9ef847a..f5842c541 100755 --- a/labgrid/remote/client.py +++ b/labgrid/remote/client.py @@ -410,7 +410,7 @@ async def add_place(self): """Add a place to the coordinator""" name = self.args.place if not name: - raise UserError("missing place name. Set with -p or via env var $PLACE") + raise UserError("missing place name. Set with -p or via env var LG_PLACE") if name in self.places: raise UserError(f"{name} already exists") res = await self.call("org.labgrid.coordinator.add_place", name)