diff options
author | Eric Wong <e@80x24.org> | 2019-12-12 18:58:24 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-12-12 19:49:13 +0000 |
commit | 9910c591caa29efe08645ff5dec26566803daa7c (patch) | |
tree | dac49e7c33d831642db63c225c69a5ae42907e90 /bin/olddoc | |
parent | 597e4958b90d16bc945436b9acfc55ed41e71f7a (diff) | |
download | olddoc-9910c591caa29efe08645ff5dec26566803daa7c.tar.gz |
The man2html(1) and groff(1) HTML generation isn't compatible anchor-wise with what pandoc(1) generated. They also had too much styling for my liking.
Diffstat (limited to 'bin/olddoc')
-rwxr-xr-x | bin/olddoc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/env ruby -# Copyright (C) 2015, all contributors <olddoc-public@80x24.org> +# Copyright (C) 2015,2019 all contributors <olddoc-public@80x24.org> $stderr.sync = $stdout.sync = true tasks = %w(prepare merge) usage = "Usage: #{File.basename($0)} [#{tasks.join('|')}]" @@ -10,6 +10,8 @@ when "prepare" Olddoc::Prepare.new(opts).run when "merge" Olddoc::Merge.new(opts).run +when "man2html" + Olddoc::Man2HTML.new(opts).run(ARGV[1..-1]) else warn "#{$0.inspect} #{ARGV.inspect} not understood" abort usage |