~emersion/public-inbox

mako: man: do not merge all makoctl mode invocations v1 APPLIED

Grzegorz Szymaszek: 1
 man: do not merge all makoctl mode invocations

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/public-inbox/patches/33839/mbox | git am -3
Learn more about email & git

[PATCH mako] man: do not merge all makoctl mode invocations Export this patch

In the manual page source file, the possible invocations of the makoctl
mode command (-s, -a, etc.) are listed in separate lines. In the
compiled manual page, they were merged to a single line, which made the
command invocation options hard to understand:
    mode mode -s <mode>... mode [-a mode]... [-r mode]...

Add explicit line breaks so that the options are listed in separate
lines in the final manual page as well. I have no idea if it is
semantically correct.

scdoc supports explicit line breaks since version 1.5.0 (2018-10-07),
mako seems to already require scdoc 1.9.7.
---
 makoctl.1.scd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/makoctl.1.scd b/makoctl.1.scd
index 1c85128..84c0450 100644
--- a/makoctl.1.scd
+++ b/makoctl.1.scd
@@ -70,8 +70,8 @@ Sends IPC commands to the running mako daemon via dbus.
*reload*
	Reloads the configuration file.

*mode*
*mode* -s <mode>...
*mode*++
*mode* -s <mode>...++
*mode* [-a mode]... [-r mode]...
	When run without any option, retrieves a list of current modes.

-- 
2.35.1
Pushed, thanks for the fix!