diff --git a/docs/importer.rst b/docs/importer.rst index 83f4e112..f1303b4c 100644 --- a/docs/importer.rst +++ b/docs/importer.rst @@ -63,7 +63,9 @@ Optional arguments --tumblr Tumblr API (default: False) --feed Feed to parse (default: False) -o OUTPUT, --output OUTPUT - Output path (default: output) + Where to output the generated markup files. If not + specified, a directory will be created, named + "content" in the current path. (default: content) -m MARKUP, --markup MARKUP Output markup format (supports rst & markdown) (default: rst) @@ -92,19 +94,19 @@ Examples For WordPress:: - $ pelican-import --wpfile -o ~/output ~/posts.xml + $ pelican-import --wpfile ~/posts.xml For Dotclear:: - $ pelican-import --dotclear -o ~/output ~/backup.txt + $ pelican-import --dotclear -o ~/markup-files ~/backup.txt for Posterous:: - $ pelican-import --posterous -o ~/output --email= --password= + $ pelican-import --posterous -o ~/content --email= --password= For Tumblr:: - $ pelican-import --tumblr -o ~/output --blogname= + $ pelican-import --tumblr -o ~/content --blogname= Tests ===== diff --git a/pelican/tools/pelican_import.py b/pelican/tools/pelican_import.py index 204ab7b0..d16bff38 100755 --- a/pelican/tools/pelican_import.py +++ b/pelican/tools/pelican_import.py @@ -790,8 +790,10 @@ def main(): '-o', '--output', dest='output', default='output', help='Output path') parser.add_argument( - '-m', '--markup', dest='markup', default='rst', - help='Output markup format (supports rst & markdown)') + '-o', '--output', dest='output', default='content', + help=('Where to output the generated markup files. If not specified, ' + 'a directory will be created, named "content" in the current ' + 'path.')) parser.add_argument( '--dir-cat', action='store_true', dest='dircat', help='Put files in directories with categories name')