Merge pull request #247 from C-Ross/fixEnvarReference
Fix an incorrect textual reference
This commit is contained in:
commit
46fe6bc6cb
@ -54,6 +54,3 @@ $ ./command-line-flags -wat
|
||||
flag provided but not defined: -wat
|
||||
Usage of ./command-line-flags:
|
||||
...
|
||||
|
||||
# Next we'll look at environment variables, another common
|
||||
# way to parameterize programs.
|
||||
|
@ -19,3 +19,6 @@ flag provided but not defined: -enable
|
||||
Usage of bar:
|
||||
-level int
|
||||
level
|
||||
|
||||
# Next we'll look at environment variables, another common
|
||||
# way to parameterize programs.
|
||||
|
@ -272,7 +272,7 @@ generated help text for the command-line program.</p>
|
||||
and show the help text again.</p>
|
||||
|
||||
</td>
|
||||
<td class="code leading">
|
||||
<td class="code">
|
||||
|
||||
<div class="highlight"><pre><span class="gp">$</span> ./command-line-flags -wat
|
||||
<span class="go">flag provided but not defined: -wat</span>
|
||||
@ -283,18 +283,6 @@ and show the help text again.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="docs">
|
||||
<p>Next we’ll look at environment variables, another common
|
||||
way to parameterize programs.</p>
|
||||
|
||||
</td>
|
||||
<td class="code empty">
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
@ -214,7 +214,7 @@ have access to trailing positional arguments.</p>
|
||||
<p>But bar won’t accept foo’s flags.</p>
|
||||
|
||||
</td>
|
||||
<td class="code">
|
||||
<td class="code leading">
|
||||
|
||||
<div class="highlight"><pre><span class="gp">$</span> ./command-line-subcommands bar -enable a1
|
||||
<span class="go">flag provided but not defined: -enable</span>
|
||||
@ -226,6 +226,18 @@ have access to trailing positional arguments.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="docs">
|
||||
<p>Next we’ll look at environment variables, another common
|
||||
way to parameterize programs.</p>
|
||||
|
||||
</td>
|
||||
<td class="code empty">
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user