We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21f4ea commit a6ffcf5Copy full SHA for a6ffcf5
packages/robot/src/robotcode/robot/config/model.py
@@ -366,7 +366,7 @@ def build_command_line(self) -> List[str]:
366
)
367
368
def append_name(field: "dataclasses.Field[Any]", add_flag: Optional[str] = None) -> None:
369
- if "robot_short_name" in field.metadata:
+ if "robot_short_name" in field.metadata and not add_flag:
370
result.append(f"-{field.metadata['robot_short_name']}")
371
elif "robot_name" in field.metadata:
372
result.append(f"--{'no' if add_flag else ''}{field.metadata['robot_name']}")
0 commit comments