Make the "path" argument the default one

This commit is contained in:
Alexis Metaireau 2010-09-15 12:30:30 +02:00
commit dbe4229e5e

View file

@ -5,7 +5,7 @@ import argparse
parser = argparse.ArgumentParser(description="""A tool to generate a
static blog, with restructured text input files.""")
parser.add_argument('-p', '--path', dest='path',
parser.add_argument(dest='path',
help='Path where to find the content files (default is "content").')
parser.add_argument('-t', '--templates-path', dest='templates',
help='Path where to find the templates. If not specified, will uses the'