diff plugins/hangman/hangman.7 @ 1020:3dec26654d06

man: misc fixes
author David Demelier <markand@malikania.fr>
date Tue, 23 Feb 2021 09:19:27 +0100
parents 90eb31112a53
children f06e9761cc90
line wrap: on
line diff
--- a/plugins/hangman/hangman.7	Sun Feb 21 20:42:17 2021 +0100
+++ b/plugins/hangman/hangman.7	Tue Feb 23 09:19:27 2021 +0100
@@ -76,16 +76,16 @@
 .Sh CONFIGURATION
 The plugin
 .Nm
-support the following configuration properties:
+supports the following configuration properties:
 .Bl -tag -width "collaborative (bool)"
 .It Va file No (string)
 The path to the database file.
 .Pp
-The file must contains one word per line, it must be saved as UTF-8 and words
-must only contains UTF-8 characters, any other entry will be ignored.
+The file must contain one word per line, it must be saved as UTF-8 and words
+must consist of UTF-8 characters, any other entry will be ignored.
 .Pp
 Example:
-.Bd -literal -offset Ds
+.Bd -literal
 sky
 irccd
 FreeBSD
@@ -100,7 +100,7 @@
 .Sh TEMPLATES
 The plugin
 .Nm
-support the following template properties:
+supports the following template properties:
 .Bl -tag -width wrong-letter
 .It Va asked
 When a letter has been already asked but present in the word. Keywords:
@@ -136,12 +136,12 @@
 .Bd -literal
 plugin "hangman" {
   config {
-    file "/var/srv/db/words.txt";
+    "file" "/var/srv/db/words.txt";
   }
 
   templates {
-    win          "nice job, the word was #{word}!";
-    wrong-letter "please try again, there is no #{letter}";
+    "win"          "nice job, the word was #{word}!";
+    "wrong-letter" "please try again, there is no #{letter}";
   }
 }
 .Ed