aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index a5c64d7d0..dcfad2723 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -364,7 +364,7 @@ defaultWriterName x =
Just ["db"] -> "docbook"
Just ["xml"] -> "docbook"
Just ["sgml"] -> "docbook"
- Just ["1"] -> "man"
+ Just [[x]] | x `elem` ['1'..'9'] -> "man"
Just _ -> "html"
main = do