class M2H::OptParser

Attributes

help[R]

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/m2h/optparser.rb, line 7
    def initialize
      @help = <<-HELP
  Usage  : m2h <markdonw_file1> <markdonw_file2> ...
  Options:
    -s, --serif   : font-family -> serif
    -d, --header  : with header
    -c, --cover   : with cover page
    -t, --toc     : use tocify.js
    -h, --help    : show this messages
    -v, --version : show version infomation
      HELP
      super
    end