</h2>
<div class="sectionbody">
<div class="paragraph">
<p>In <code>--parseopt</code> mode, <em>git rev-parse</em> helps massaging options to bring to shell
scripts the same facilities C builtins have. It works as an option normalizer
(e.g. splits single switches aggregate values), a bit like <code>getopt(1)</code> does.</p>
</div>
<div class="paragraph">
<p>It takes on the standard input the specification of the options to parse and
understand, and echoes on the standard output a string suitable for <code>