commit 43c8f39324974439e06812a0c8f745cc06cfb419
parent 9d4885e795150b074adb7695745c7ea3eac1163f
Author: Drew DeVault <sir@cmpwn.com>
Date: Mon, 21 Feb 2022 18:34:55 +0100
fmt: correct README error
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fmt/README b/fmt/README
@@ -12,8 +12,8 @@ modifiers, and parametric format modifiers.
Inline format modifiers are a series of characters within a format sequence.
You may use a colon to add format modifiers; for example, "{:x}" will format an
-argument in hexadecimal, and "{3:-10}" will left-align the 3rd argument to at
-least 10 characters.
+argument in hexadecimal, and "{3:-10}" will left-align the 4rd argument (zero
+indexed) to at least 10 characters.
The format modifiers takes the form of an optional flag character: