Skip to content

Commit 3cec23f

Browse files
fix documentation typos & style
typo corrections: - otherwisee --> otherwise - it's is --> it is - nuber --> number - will likely to use --> is likely to use - varaible --> variable - defauled --> defaulted stylistic changes: - which would make --> making
1 parent fcc4e6e commit 3cec23f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

doc/design.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
Second, imagine a reusable library which has some options and exposes
6969
options description in its interface. If <emphasis>all</emphasis>
7070
options are either ascii or Unicode, and the library does not use any
71-
Unicode strings, then the author will likely to use ascii options, which
72-
would make the library unusable inside Unicode
71+
Unicode strings, then the author is likely to use ascii options, making
72+
the library unusable inside Unicode
7373
applications. Essentially, it would be necessary to provide two versions
7474
of the library -- ascii and Unicode.
7575
</para>

doc/overview.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla");
280280
bla bla bla
281281
</screen>
282282
The tab character is removed before output. Only one tabulator per
283-
paragraph is allowed, otherwisee an exception of type
283+
paragraph is allowed, otherwise an exception of type
284284
program_options::error is thrown. Finally, the tabulator is ignored if
285-
it's is not on the first line of the paragraph or is on the last
285+
it is not on the first line of the paragraph or is on the last
286286
possible position of the first line.
287287
</para>
288288

include/boost/program_options/parsers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ namespace boost { namespace program_options {
103103
and to parse the command line. It is primarily needed to
104104
emulate named function parameters -- a regular function with 5
105105
parameters will be hard to use and creating overloads with a smaller
106-
nuber of parameters will be confusing.
106+
number of parameters will be confusing.
107107
108108
For the most common case, the function parse_command_line is a better
109109
alternative.

include/boost/program_options/variables_map.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,11 @@ namespace boost { namespace program_options {
118118
- otherwise, returns empty value
119119
120120
- if there's defaulted value
121-
- if there's next varaible map, which has a non-defauled
121+
- if there's next variable map, which has a non-defaulted
122122
value, return that
123123
- otherwise, return value from *this
124124
125-
- if there's a non-defauled value, returns it.
125+
- if there's a non-defaulted value, returns it.
126126
*/
127127
const variable_value& operator[](const std::string& name) const;
128128

0 commit comments

Comments
 (0)