From 0ac473cddf03e9228db342ab645af41dabea6888 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 24 May 2015 19:48:52 -0600 Subject: libremessages:flag: Allow specifying multiple flags in one go. This allows the descriptions to all be aligned together. --- src/lib/libremessages.1.ronn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lib/libremessages.1.ronn') diff --git a/src/lib/libremessages.1.ronn b/src/lib/libremessages.1.ronn index 5d58fb5..520837d 100644 --- a/src/lib/libremessages.1.ronn +++ b/src/lib/libremessages.1.ronn @@ -89,7 +89,7 @@ For each of these, is fed through `gettext` automatically. Similar to `prose`, but prints a bullet point before the first line, and indents the remaining lines. - * `flag` : + * `flag` [ ...]: Print a flag and description formatted for `--help` text. For example:
`flag '-N' 'Disable networking in the chroot'`
@@ -99,7 +99,9 @@ For each of these, is fed through `gettext` automatically. `flag "-C <$(_ FILE)>" 'Use this file instead of pacman.conf'`
Newlines in the description are ignored; it is whitespace-collapsed (so newlines are stripped), then it is - re-word-wrapped, in the same way as `prose` and `bullet`. + re-word-wrapped, in the same way as `prose` and `bullet`. If you + pass in multiple flag/description pairs to the same invocation, + the descriptions are all aligned together. ### NOTIFICATION ROUTINES -- cgit v1.2.3-54-g00ecf