commit d0c8c27dd9c9b61822eefd9db9d6add426ebc7b7
parent 912a35175769f79e089141266311164b1db78a6e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 27 Jul 2023 10:19:22 +0200
Edit manual page
Correct warnings returned by mandoc. Use the .It macro instead of the
.Cm macro to list keyboard shortcuts. Finally, use the .Ex macro to
print the standard message in the "exit status" section.
Diffstat:
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/diaposishell.1 b/diaposishell.1
@@ -1,4 +1,3 @@
-.\"
.\" Copyright (C) 2023 |Méso|Star> (contact@meso-star.com)
.\"
.\" This program is free software: you can redistribute it and/or modify
@@ -28,7 +27,8 @@
.Nm
is a simple presentation tool that displays text files and strings on
the terminal in the order in which they are submitted as input
-arguments. If the
+arguments.
+If the
.Fl x
option is enabled, files with a shebang header are
detected as scripts and executed accordingly, allowing you to invoke
@@ -40,19 +40,19 @@ The options are as follows:
Enable shebang detection to allow slides to be run.
.El
.Sh KEYBINDS
-The following keybinds are validated by pressing Enter. An empty entry
-repeats the last action. If no action has yet been performed, you move
-on to the next slide.
+The following keybinds are validated by pressing Enter.
+An empty entry repeats the last action.
+If no action has yet been performed, you move on to the next slide.
.Bl -tag -width Ds
-.It Cm h , \&?
+.It Ic h , \&?
Display short help.
-.It Cm G
+.It Ic G
Go to the last slide.
-.It Cm g
+.It Ic g
Go to the first slide.
.Sm off
.It Oo Ar 1..n Oc Xo
-.Cm gg
+.Ic gg
.Sm on
.Xc
Go to the
@@ -65,20 +65,20 @@ slide in
with
.Ar n
the number of slides.
-.It Cm n
+.It Ic n
Go to next slide.
-.It Cm p
+.It Ic p
Go to previous slide.
-.It Cm q
+.It Ic q
Quit.
.El
.Sh EXIT STATUS
-.Nm
-exits 0 on success and >0 if an error occurs.
+.Ex -std
.Sh COPYRIGHT
Copyright © 2023 |Méso|Star
.Pp
.Nm
is free software released under the GPLv3+ license: GNU GPL version 3
or later <https://gnu.org/licenses/gpl.html>. You are free to change and
-redistribute it. There is NO WARRANTY, to the extent permitted by law.
+redistribute it.
+There is NO WARRANTY, to the extent permitted by law.