Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukedeo committed Apr 19, 2019
1 parent c806c51 commit ee8ba0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ int main(int argc, char const *argv[]) {

p.add_option("--number", "-n")
.help("A number to do something with")
.default(42)
.default_value(42)
.mode(optionparser::StorageMode::STORE_VALUE);

p.add_option("--file")
Expand Down

0 comments on commit ee8ba0a

Please sign in to comment.