Skip to content

Commit c724b80

Browse files
lanurmivprus
authored andcommitted
Fix spelling of "occurrence" where appropriate.
1 parent 0f9793e commit c724b80

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

doc/rationale

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ implement generic composition classes. The former was choosen,
44
mostly because of simplicity.
55

66
There were two implementation approaches for multiple option
7-
occurences in options_and_arguments. First is store them
7+
occurrences in options_and_arguments. First is store them
88
separately. The advantage is that it's easy to obtain all
9-
occurences before certain position on command line. The
9+
occurrences before certain position on command line. The
1010
disadvantage is that we cannot return a reference to
1111
vector<vector<string> > in get_all_values. It was considered
1212
that if support for position-dependent options is to be
13-
added, then we're be mostly interested in occurences of
13+
added, then we're be mostly interested in occurrences of
1414
a single option that were before some point. That's possible
15-
with vector<vector<string> > storage.
15+
with vector<vector<string> > storage.

doc/rationale.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181

8282
@section help_handling Handling of --help
8383

84-
It was suggested by Gennadiy Rozental that occurence of <tt>--help</tt>
84+
It was suggested by Gennadiy Rozental that occurrence of <tt>--help</tt>
8585
on command line results in throwing an exception. Actually, the
8686
&quot;special&quot; option must have been configurable. This was not
8787
implemented, because applications might reasonable want to process

src/options_description.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define BOOST_PROGRAM_OPTIONS_SOURCE
99
#include <boost/program_options/config.hpp>
1010
#include <boost/program_options/options_description.hpp>
11-
// FIXME: this is only to get multiple_occurences class
11+
// FIXME: this is only to get multiple_occurrences class
1212
// should move that to a separate headers.
1313
#include <boost/program_options/parsers.hpp>
1414

0 commit comments

Comments
 (0)