lib/jekyll-import/importers/tumblr.rb in jekyll-import-0.21.0 vs lib/jekyll-import/importers/tumblr.rb in jekyll-import-0.22.0
- old
+ new
@@ -17,14 +17,14 @@
reverse_markdown
))
end
def specify_options(c)
- c.option "url", "--url URL", "Tumblr URL"
- c.option "format", "--format FORMAT", 'Output format (default: "html")'
- c.option "grab_images", "--grab_images", "Whether to grab images (default: false)"
- c.option "add_highlights", "--add_highlights", "Whether to add highlights (default: false)"
- c.option "rewrite_urls", "--rewrite_urls", "Whether to rewrite URLs (default: false)"
+ c.option "url", "--url URL", "Tumblr URL."
+ c.option "format", "--format FORMAT", "Output format. (default: 'html')"
+ c.option "grab_images", "--grab_images", "Whether to grab images. (default: false)"
+ c.option "add_highlights", "--add_highlights", "Whether to add highlights. (default: false)"
+ c.option "rewrite_urls", "--rewrite_urls", "Whether to rewrite URLs. (default: false)"
end
def process(options)
url = options.fetch("url")
format = options.fetch("format", "html")