Skip to content

Commit 0c19d3c

Browse files
committed
Fix translation cmd
Fixes #1908
1 parent ffd78ec commit 0c19d3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SeleniumLibrary/entry/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def cli():
4949
required=True,
5050
)
5151
@click.option(
52-
"--plugin",
52+
"--plugins",
5353
help="Same as plugins argument in the library import.",
5454
default=None,
5555
type=str,
@@ -97,7 +97,7 @@ def translation(
9797
print("Translation is valid, no updated needed.")
9898
else:
9999
with filename.open("w") as file:
100-
json.dump(translation, file, indent=4)
100+
json.dump(lib_translation, file, indent=4)
101101
print(f"Translation file created in {filename.absolute()}")
102102

103103

0 commit comments

Comments
 (0)