aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/interface.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/interface.md b/doc/interface.md
index 86937f8..da07986 100644
--- a/doc/interface.md
+++ b/doc/interface.md
@@ -53,9 +53,12 @@ the fields which are set by `simple_opt_parse` are:
union {
bool val_bool;
- int val_int;
- unsigned val_unsigned;
- char val_string[SIMPLE_OPT_ARG_MAX_WIDTH];
+ long val_int;
+ unsigned long val_unsigned;
+ double val_double;
+ char val_char;
+ char val_string[SIMPLE_OPT_OPT_ARG_MAX_WIDTH];
+ int val_string_set_idx;
};
```