bin/md2man-rake in md2man-5.0.3 vs bin/md2man-rake in md2man-5.1.0
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
=begin =======================================================================
-# MD2MAN-RAKE 1 2016-02-21 5.0.3
+# MD2MAN-RAKE 1 2016-02-28 5.1.0
## NAME
md2man-rake - run rake(1) tasks from md2man(1)
@@ -23,24 +23,25 @@
## TASKS
`md2man`
Runs the `md2man:man` and `md2man:web` tasks, in that order.
-`md2man:man`
+`md2man:man` or `man`
Builds UNIX manual pages from `*.markdown`, `*.mkd`, and `*.md` files
found in or beneath the `man/` subdirectory in your working directory.
-`md2man:web`
+`md2man:web` or `web`
Builds HTML manual pages from `*.markdown`, `*.mkd`, and `*.md` files
found in or beneath the `man/` subdirectory in your working directory.
## OPTIONS
`-h` [*PATTERN*], `--help` [*PATTERN*]
- Show this help manual and search for *PATTERN* regular expression therein.
+ Show this help manual and optionally search for *PATTERN* regular expression.
-Run `rake --help` to see more options.
+...
+ Anything else is passed to rake(1); run `rake --help` for documentation.
## SEE ALSO
rake(1), md2man-roff(1), md2man-html(1), md2man(5)
@@ -52,7 +53,9 @@
require 'rake'
Rake.application.init File.basename(__FILE__)
require 'md2man/rakefile'
task :default => :md2man
+task :man => 'md2man:man'
+task :web => 'md2man:web'
Rake.application.top_level