aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-12-18 08:39:17 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-12-18 08:39:17 -0700
commit4fd21e3125c3003ecd0ae28c50c8656b62faefba (patch)
tree9d421b6cc0acfd7ccf5d3a4bd4677717ce01f77a /doc
parent197d36e32ddf85b49e82d5b84b9170f25f844ecb (diff)
downloadsimple-opt-4fd21e3125c3003ecd0ae28c50c8656b62faefba.tar.gz
allow some two-char c string escape codesHEADmaster
\a, \b, \f, \n, \r, \t, \v
Diffstat (limited to 'doc')
-rw-r--r--doc/interface.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/interface.md b/doc/interface.md
index 978ecb3..0882acd 100644
--- a/doc/interface.md
+++ b/doc/interface.md
@@ -115,8 +115,9 @@ floating point number that can be read by the standard library `strtod`
function and stored in a `double` type. this includes arguments like "4.9",
"-1.2e20", "infinity", or "nan".
-arguments acceptable to type `SIMPLE_OPT_CHAR` may be any single-byte
-character.
+arguments acceptable to type `SIMPLE_OPT_CHAR` may be any single-byte character
+or one of the following two-character escape sequences: `\a`, `\b`, `\f`, `\n`,
+`\r`, `\t`, `\v`.
arguments acceptable to type `SIMPLE_OPT_STRING` may be any string of
characters the user passes.