Tiny fix for CLI help.

This commit is contained in:
Eevee 2010-04-24 14:16:16 -07:00
parent c9f32a8145
commit 6106737465

View file

@ -30,7 +30,7 @@ def main():
def get_parser(verbose=True): def get_parser(verbose=True):
"""Returns an OptionParser prepopulated with the global options. """Returns an OptionParser prepopulated with the global options.
`verbose` is whether or not the options should be verbose by default. `verbose` is whether or not the options should be verbose by default.
""" """
parser = OptionParser() parser = OptionParser()
@ -247,17 +247,17 @@ Global options:
the pokedex install directory. Use this option (or a the pokedex install directory. Use this option (or a
POKEDEX_INDEX_DIR environment variable) to specify an POKEDEX_INDEX_DIR environment variable) to specify an
alternate loction. alternate loction.
System options:
-d|--directory By default, load and dump will use the CSV files in the
pokedex install directory. Use this option to specify
a different directory.
-D|--drop-tables With load, drop all tables before loading data.
-q|--quiet Don't print system output. This is the default for -q|--quiet Don't print system output. This is the default for
non-system commands and setup. non-system commands and setup.
-v|--verbose Print system output. This is the default for system -v|--verbose Print system output. This is the default for system
commands, except setup. commands, except setup.
System options:
-d|--directory=DIR By default, load and dump will use the CSV files in the
pokedex install directory. Use this option to specify
a different directory.
-D|--drop-tables With load, drop all tables before loading data.
Additionally, load and dump accept a list of table names (possibly with Additionally, load and dump accept a list of table names (possibly with
wildcards) and/or csv fileames as an argument list. wildcards) and/or csv fileames as an argument list.
""".encode(sys.getdefaultencoding(), 'replace') """.encode(sys.getdefaultencoding(), 'replace')