Replace "--" in output messages with ";"
John Smith

John Smith commited on 2022-302 00:39:36
Showing 2 changed files, with 6 additions and 6 deletions.

... ...
@@ -129,7 +129,7 @@ local actions = {
129 129
         nd = true,
130 130
         fn = function(config, deck)
131 131
             if isatty() then
132
-                io.write("Reading prompts -- press Ctrl-D to stop\n")
132
+                io.write("Reading prompts; press Ctrl-D to stop\n")
133 133
             else
134 134
                 io.write("Reading prompts ...\n")
135 135
             end
... ...
@@ -212,7 +212,7 @@ local actions = {
212 212
             local climt = io.read("l")
213 213
             local climn = tonumber(climt)
214 214
             if not climn then
215
-                io.write("Input not a number -- aborting\n")
215
+                io.write("Input not a number; aborting\n")
216 216
                 return nil
217 217
             end
218 218
             local lrc = 0
... ...
@@ -264,7 +264,7 @@ local actions = {
264 264
             end
265 265
             if #editqueue > 0 then
266 266
                 io.write(string.format(
267
-                    "\n%d cards queued for editing -- press Enter to proceed",
267
+                    "\n%d cards queued for editing; press Enter to proceed",
268 268
                     #editqueue
269 269
                 ))
270 270
                 io.flush()
... ...
@@ -49,7 +49,7 @@ function config:get(name, ind)
49 49
 end
50 50
 
51 51
 if not config.DeckFile then
52
-    io.write("No deck files specified -- aborting\n")
52
+    io.write("No deck files specified; aborting\n")
53 53
     os.exit(true, true)
54 54
 end
55 55
 
... ...
@@ -63,10 +63,10 @@ if #config.DeckFile > 1 then
63 63
     if si and si <= #config.DeckFile and si >= 1 then
64 64
         deckfname = config.DeckFile[si]
65 65
     elseif si then
66
-        io.write("Selected deck out of range -- aborting\n")
66
+        io.write("Selected deck out of range; aborting\n")
67 67
         os.exit(true, true)
68 68
     else
69
-        io.write("Input not a number -- aborting")
69
+        io.write("Input not a number; aborting")
70 70
         os.exit(true, true)
71 71
     end
72 72
 else
73 73