shithub: Nail

Download patch

ref: 2bd4856a42fb0f428ec848c658396c850f1b77e5
parent: d979090fb616442e649b31ddb6f0dbb01e5ce59e
author: Ori Bernstein <[email protected]>
date: Sun Jan 17 11:48:27 EST 2021

nail(1): Document the '>' flag and default format string

--- a/nail.man
+++ b/nail.man
@@ -126,12 +126,20 @@
 .PP
 Directives have the following format:
 .IP
-.B "% [width] verb
+.B "% [flags] [width] verb
 .PP
 .IR width
 limits the number of characters displayed.
 If width is negative, text is aligned right instead of left.
 .PP
+The supported flags are:
+.PD 0
+.TP
+.B >
+Insert indentation into the start of the field. This
+does not increase the width of the field.
+
+.PP
 Messages directives are:
 .PD 0
 .TP
@@ -188,7 +196,7 @@
 Text within the braces is used as the format string for tmfmt(2).
 
 .PP
-If the format string is invalid, Nail will exit with a description of the error.
+The default format string is "%>48s\\t<%f>"
 
 .SH FILES