From 0519a0989eff05ac9a6446c25aea6f0283938165 Mon Sep 17 00:00:00 2001 From: Mathias Soeken Date: Fri, 5 Jan 2018 16:19:31 +0100 Subject: [PATCH] Wrong function name. `add_options` should be `add_option`. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 74a6bdfc..9a825774 100644 --- a/README.md +++ b/README.md @@ -130,10 +130,10 @@ The initialization is just one line, adding options is just two each. The parse The supported values are: ```cpp -app.add_options(option_name, - variable_to_bind_to, // int, float, vector, or string-like - help_string="", - default=false) +app.add_option(option_name, + variable_to_bind_to, // int, float, vector, or string-like + help_string="", + default=false) app.add_complex(... // Special case: support for complex numbers