# Expected 2 keywords got 6

**URL:** <https://forum.robotframework.org/t/expected-2-keywords-got-6/4905>\
**Category:** Robot Framework\
**Created:** [3 November 2022 08:39 UTC](https://forum.robotframework.org/t/expected-2-keywords-got-6/4905 "2022-11-03T08:39:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yebubu](https://avatars.discourse-cdn.com/v4/letter/y/e79b87/32.png) [@yebubu](https://forum.robotframework.org/u/yebubu)\
**Post date:** [3 November 2022 08:39 UTC](https://forum.robotframework.org/t/expected-2-keywords-got-6/4905/1 "2022-11-03T08:39:36Z")

</div>

How can this problem be solved for example, The Execute special command on accepts 2 arguments, but I want to make it accept more. I want these two commands to be together so that I can replace the yaml file of a docker image at once

```python
Execute special command on ${cluster} kubectl exec -n ${namespace} get statefulsets/postgresql-pod -o yaml | sed "s#image: docker repo /stolon#image: bbbdocker repo/stolon#"

```

```python
Execute special command on ${cluster} kubectl -n ${namespace} replace -f -

```

---

<div class="post-metadata">

**Author:** ![eccen3k](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@eccen3k](https://forum.robotframework.org/u/eccen3k)\
**Post date:** [4 November 2022 03:42 UTC](https://forum.robotframework.org/t/expected-2-keywords-got-6/4905/2 "2022-11-04T03:42:28Z")

</div>

Use @{varargs} in your argument
