@@ -303,13 +303,13 @@ Format strings are parsed by the following EBNF:
303303.Bd -literal
304304<grammar> ::= (prefix | "\\" (escape|[{}]) | substitution)*
305305<prefix> ::= [^\\{ }]+ -- Literal text chunk.
306- <escape> ::= [abfnrtv0 ] -- POSIX-like espace character.
306+ <escape> ::= [abefnrtv0 ] -- POSIX-like escape character.
307307
308308<substitution> ::= "{" variable ["?" default] ["!" conversion] [":" format] "}"
309309<variable> ::= [a-zA-Z0-9_-]
310310
311- <default> ::= ([-]?[0-9]+) -- default number.
312- | "true" | "false" -- default boolean.
311+ <default> ::= ([-]?[0-9]+) -- default number.
312+ | "true" | "false" -- default boolean.
313313 | ('"' (("\\" (escape|'"')) | [^"])* '"') -- default string.
314314
315315<conversion> ::= humanize | strmode | json
@@ -324,7 +324,7 @@ Format strings are parsed by the following EBNF:
324324 it using one digit.
325325 <width> ::= [0-9]+ -- Width of the output.
326326 <scale> ::= multiplier -- Minimum scale multiplier and optionally
327- [multiplier] -- Maxium scale multiplier.
327+ [multiplier] -- Maximum scale multiplier.
328328 <multiplier> ::= "B" -- byte
329329 | "K" -- kilo
330330 | "M" -- mega
@@ -345,7 +345,7 @@ Format strings are parsed by the following EBNF:
345345 <sign> ::= "+" -- Add sign to positive and negative numbers.
346346 | "-" -- Add sign to negative numbers.
347347 <width> ::= [0-9]+ -- The alignment width.
348- <precision> ::= [0-9]+ -- Percision for numbers.
348+ <precision> ::= [0-9]+ -- Precision for numbers.
349349 <type> ::= "d" -- Decimal number.
350350 | "o" -- Octal number.
351351 | "u" -- Unsigned number.
0 commit comments