Skip to content

Commit c83abc2

Browse files
committed
Correct documentation for 'implicit_value'
Now we no longer say it requires value to be in the same token.
1 parent 7729850 commit c83abc2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

include/boost/program_options/value_semantic.hpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,7 @@ namespace boost { namespace program_options {
218218

219219
/** Specifies an implicit value, which will be used
220220
if the option is given, but without an adjacent value.
221-
Using this implies that an explicit value is optional, but if
222-
given, must be strictly adjacent to the option, i.e.: '-ovalue'
223-
or '--option=value'. Giving '-o' or '--option' will cause the
224-
implicit value to be applied.
221+
Using this implies that an explicit value is optional,
225222
*/
226223
typed_value* implicit_value(const T &v)
227224
{

0 commit comments

Comments
 (0)