We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d365d56 commit f6862e8Copy full SHA for f6862e8
1 file changed
markdown.lua
@@ -19,9 +19,9 @@ document containing the text from multiple screens (eg: text screens
19
from several dwarves, or text screens from multiple artifacts/items,
20
or some combination).
21
22
-Usage: ``markdown [/n] [filename]``
+Usage: ``markdown [-n] [filename]``
23
24
-:/n: overwrites contents of output file
+:-n: overwrites contents of output file
25
:filename:
26
if provided, save to :file:`md_{filename}.md` instead
27
of the default :file:`md_export.md`
@@ -54,7 +54,7 @@ end
54
local writemode = 'a'
55
56
-- check if we want to append to an existing file (default) or overwrite previous contents
57
-if args[1] == '/n' then
+if args[1] == '-n' or args[1] == '/n' then
58
writemode = 'w'
59
table.remove(args, 1)
60
end
0 commit comments