Skip to content

Commit a779e66

Browse files
authored
#1258 Avoid showing unit as a seperate command line argument (#1288)
1 parent 0ddc180 commit a779e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/repl/client/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _get_requests(members):
164164
)
165165
commands = {
166166
f"client.{c[0]}": Command(
167-
f"client.{c[0]}", argspec(c[1]), inspect.getdoc(c[1]), unit=True
167+
f"client.{c[0]}", argspec(c[1]), inspect.getdoc(c[1]), unit=False
168168
)
169169
for c in commands
170170
if not c[0].startswith("_")

0 commit comments

Comments
 (0)