fix num -> numb typo

This commit is contained in:
Mark McGranaghan 2013-06-16 10:38:49 -07:00
parent 790139102f
commit db5276c751
3 changed files with 5 additions and 5 deletions

View File

@ -31,12 +31,12 @@ tail: [a1 a2 a3]
# Note that the `flag` package requires all flags to
# appear before positional arguments (otherwise the flags
# will be interpreted as positional arguments).
$ ./command-line-flags -word=opt a1 a2 a3 -num=7
$ ./command-line-flags -word=opt a1 a2 a3 -numb=7
word: opt
numb: 42
fork: false
svar: bar
trailing: [a1 a2 a3 -num=7]
trailing: [a1 a2 a3 -numb=7]
# Use `-h` or `--help` flags to get automatically
# generated help text for the command-line program.

View File

@ -231,12 +231,12 @@ will be interpreted as positional arguments).</p>
</td>
<td class="code leading">
<div class="highlight"><pre><span class="gp">$</span> ./command-line-flags -word<span class="o">=</span>opt a1 a2 a3 -num<span class="o">=</span>7
<div class="highlight"><pre><span class="gp">$</span> ./command-line-flags -word<span class="o">=</span>opt a1 a2 a3 -numb<span class="o">=</span>7
<span class="go">word: opt</span>
<span class="go">numb: 42</span>
<span class="go">fork: false</span>
<span class="go">svar: bar</span>
<span class="go">trailing: [a1 a2 a3 -num=7]</span>
<span class="go">trailing: [a1 a2 a3 -numb=7]</span>
</pre></div>
</td>

View File

@ -146,7 +146,7 @@ particular machine.</p>
<tr>
<td class="docs">
<p>If we set <code>BAR</code> in the environemnt first, the running
<p>If we set <code>BAR</code> in the environment first, the running
program picks that value up.</p>
</td>