<p>I think -o is supposed be an universal option for kubectl.
But, somehow I get the following error when I run the following kubectl command.</p>
<p>Can you please tell me why? Thank you.</p>
<pre><code>mamun$ kubectl describe secret -n development serviceaccount-foo -o yaml
Error: unknown shorthand flag: 'o' in -o
See 'kubectl describe --help' for usage.
</code></pre>

<p><code>-o | --output</code> is not a universal flag, it is not included in the default <a href="https://kubernetes.io/docs/reference/kubectl/kubectl/" rel="noreferrer"><code>kubectl</code> flags</a> (<code>1.18</code>) and <a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#describe" rel="noreferrer"><code>kubectl describe</code> does not support the <code>--output</code> (or shorthand <code>-o</code>) flag</a>.</p>
