aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 664b5c1e..ea9a0302 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -7078,8 +7078,10 @@ following the description given in its first argument,
7078which must be a string. 7078which must be a string.
7079The format string follows the same rules as the @ANSI{sprintf}. 7079The format string follows the same rules as the @ANSI{sprintf}.
7080The only differences are that the conversion specifiers and modifiers 7080The only differences are that the conversion specifiers and modifiers
7081@T{*}, @id{h}, @id{L}, @id{l}, and @id{n} are not supported 7081@id{F}, @id{n}, @T{*}, @id{h}, @id{L}, and @id{l} are not supported
7082and that there is an extra specifier, @id{q}. 7082and that there is an extra specifier, @id{q}.
7083Both width and precision, when present,
7084are limited to two digits.
7083 7085
7084The specifier @id{q} formats booleans, nil, numbers, and strings 7086The specifier @id{q} formats booleans, nil, numbers, and strings
7085in a way that the result is a valid constant in Lua source code. 7087in a way that the result is a valid constant in Lua source code.
@@ -7099,7 +7101,7 @@ may produce the string:
7099"a string with \"quotes\" and \ 7101"a string with \"quotes\" and \
7100 new line" 7102 new line"
7101} 7103}
7102This specifier does not support modifiers (flags, width, length). 7104This specifier does not support modifiers (flags, width, precision).
7103 7105
7104The conversion specifiers 7106The conversion specifiers
7105@id{A}, @id{a}, @id{E}, @id{e}, @id{f}, 7107@id{A}, @id{a}, @id{E}, @id{e}, @id{f},