@@ -305,13 +305,13 @@ Format strings are parsed by the following EBNF:
305305.Bd -literal
306306<grammar> ::= (prefix | "\\" (escape|[{}]) | substitution)*
307307<prefix> ::= [^\\{ }]+ -- Literal text chunk.
308- <escape> ::= [abfnrtv0 ] -- POSIX-like espace character.
308+ <escape> ::= [abefnrtv0 ] -- POSIX-like escape character.
309309
310310<substitution> ::= "{" variable ["?" default] ["!" conversion] [":" format] "}"
311311<variable> ::= [a-zA-Z0-9_-]
312312
313- <default> ::= ([-]?[0-9]+) -- default number.
314- | "true" | "false" -- default boolean.
313+ <default> ::= ([-]?[0-9]+) -- default number.
314+ | "true" | "false" -- default boolean.
315315 | ('"' (("\\" (escape|'"')) | [^"])* '"') -- default string.
316316
317317<conversion> ::= humanize | strmode | json
@@ -326,7 +326,7 @@ Format strings are parsed by the following EBNF:
326326 it using one digit.
327327 <width> ::= [0-9]+ -- Width of the output.
328328 <scale> ::= multiplier -- Minimum scale multiplier and optionally
329- [multiplier] -- Maxium scale multiplier.
329+ [multiplier] -- Maximum scale multiplier.
330330 <multiplier> ::= "B" -- byte
331331 | "K" -- kilo
332332 | "M" -- mega
@@ -347,7 +347,7 @@ Format strings are parsed by the following EBNF:
347347 <sign> ::= "+" -- Add sign to positive and negative numbers.
348348 | "-" -- Add sign to negative numbers.
349349 <width> ::= [0-9]+ -- The alignment width.
350- <precision> ::= [0-9]+ -- Percision for numbers.
350+ <precision> ::= [0-9]+ -- Precision for numbers.
351351 <type> ::= "d" -- Decimal number.
352352 | "o" -- Octal number.
353353 | "u" -- Unsigned number.
0 commit comments