from typing import Optional


def _fmt_runargs(container, pod) -> Optional[str]:
    """Get container run args."""
    for spec in pod.spec.containers:
        if spec.name == container.name:
            if not spec.args:
                return None
            return ' '.join(list(spec.args))