File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
include/boost/program_options Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 68
68
Second, imagine a reusable library which has some options and exposes
69
69
options description in its interface. If <emphasis >all</emphasis >
70
70
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
73
73
applications. Essentially, it would be necessary to provide two versions
74
74
of the library -- ascii and Unicode.
75
75
</para >
Original file line number Diff line number Diff line change @@ -280,9 +280,9 @@ bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla");
280
280
bla bla bla
281
281
</screen >
282
282
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
284
284
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
286
286
possible position of the first line.
287
287
</para >
288
288
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ namespace boost { namespace program_options {
103
103
and to parse the command line. It is primarily needed to
104
104
emulate named function parameters -- a regular function with 5
105
105
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.
107
107
108
108
For the most common case, the function parse_command_line is a better
109
109
alternative.
Original file line number Diff line number Diff line change @@ -118,11 +118,11 @@ namespace boost { namespace program_options {
118
118
- otherwise, returns empty value
119
119
120
120
- 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
122
122
value, return that
123
123
- otherwise, return value from *this
124
124
125
- - if there's a non-defauled value, returns it.
125
+ - if there's a non-defaulted value, returns it.
126
126
*/
127
127
const variable_value& operator [](const std::string& name) const ;
128
128
You can’t perform that action at this time.
0 commit comments