summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCraig Silverstein <csilvers+gflags@google.com>2007-04-20 21:16:33 +0000
committerCraig Silverstein <csilvers+gflags@google.com>2007-04-20 21:16:33 +0000
commit690172b4d89215d4168cb6376df115b3043b5f12 (patch)
tree794036049d450f2f7d5e81a1d6d3788ff0fa1784 /doc
parent290da389e53da2dfc2f09fbbfac5fc61221ecfb7 (diff)
downloadgflags-690172b4d89215d4168cb6376df115b3043b5f12.tar.gz
gflags-690172b4d89215d4168cb6376df115b3043b5f12.tar.bz2
gflags-690172b4d89215d4168cb6376df115b3043b5f12.zip
Thu Apr 19 15:15:07 2007 Google Inc. <opensource@google.com>
* google-gflags: version 0.4 * Remove is_default from GetCommandLineFlagInfo (csilvers) * Portability fixes: includes, strtoll, gcc4.3 errors (csilvers) * A few doc typo cleanups (csilvers) git-svn-id: https://gflags.googlecode.com/svn/trunk@13 6586e3c6-dcc4-952a-343f-ff74eb82781d
Diffstat (limited to 'doc')
-rw-r--r--doc/gflags.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gflags.html b/doc/gflags.html
index 6a5ef7c..9f175e9 100644
--- a/doc/gflags.html
+++ b/doc/gflags.html
@@ -159,7 +159,7 @@ use a flag that's defined in another file. For instance, if I were
writing <code>bar.cc</code> but wanted to access the big_menu, flag, I
would put this near the top of <code>bar.cc</code>:</p>
<pre>
- DEFINE_bool(big_menu);
+ DECLARE_bool(big_menu);
</pre>
<p>This is functionally equivalent to saying <code>extern
@@ -280,7 +280,7 @@ processing. So in <code>foo -f1 1 -- -f2 2</code>, <code>f1</code> is
considered a flag, but <code>-f2</code> is not.</p>
<p>Note that flags do not have single-letter synonyms, like they do in
-the getopt library, nor do we allowing "combining" flags behind a
+the getopt library, nor do we allow "combining" flags behind a
single dash, as in <code>ls -la</code>.</p>