summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/format.mli1
-rw-r--r--stdlib/printf.mli1
2 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/format.mli b/stdlib/format.mli
index 36a9b12d6..cd5c0314c 100644
--- a/stdlib/format.mli
+++ b/stdlib/format.mli
@@ -586,6 +586,7 @@ val fprintf : formatter -> ('a, formatter, unit, unit) format -> 'a;;
the [<] character, followed by an integer [nspaces] value,
then an integer offset, and a closing [>] character.
- [@?]: flush the pretty printer as with [print_flush ()].
+ This is equivalent to the conversion [%$].
- [@.]: flush the pretty printer and output a new line, as with
[print_newline ()].
- [@<n>]: print the following item as if it were of length [n].
diff --git a/stdlib/printf.mli b/stdlib/printf.mli
index 1a19081fd..a6551907a 100644
--- a/stdlib/printf.mli
+++ b/stdlib/printf.mli
@@ -63,6 +63,7 @@ val fprintf : out_channel -> ('a, out_channel, unit, unit) format -> 'a
in the output of [fprintf] at the current point.
- [t]: same as [%a], but takes only one argument (with type
[out_channel -> unit]) and apply it to [outchan].
+ - [$]: take no argument and flush the output.
- [%]: take no argument and output one [%] character.
The optional flags include: