Fix bug 2153 to hide WIM password properly in command wim-show
[osm/osmclient.git] / osmclient / scripts / osm.py
index f68fb0c..02870e4 100755 (executable)
@@ -3614,7 +3614,7 @@ def wim_show(ctx, name):
     check_client_version(ctx.obj, ctx.command.name)
     resp = ctx.obj.wim.get(name)
     if "password" in resp:
-        resp["wim_password"] = "********"
+        resp["password"] = "********"
     # except ClientException as e:
     #     print(str(e))
     #     exit(1)