summaryrefslogtreecommitdiff
path: root/src/distutils2/dist.py
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2010-08-09 09:28:11 +0200
committer?ric Araujo <merwok@netwok.org>2010-08-09 09:28:11 +0200
commitcecc8b7c3efb2e08c6f4bb840ae6540cb96196d9 (patch)
tree377c5f54b9f3fe82766b7ca1e28ef66ac2aa301d /src/distutils2/dist.py
parent6f27b21b4215f7c63fef6acadba1a76cc3f8358e (diff)
downloaddisutils2-cecc8b7c3efb2e08c6f4bb840ae6540cb96196d9.tar.gz
Fix some familiar typos and use consistent spellings
Diffstat (limited to 'src/distutils2/dist.py')
-rw-r--r--src/distutils2/dist.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/distutils2/dist.py b/src/distutils2/dist.py
index 191b146..bdef843 100644
--- a/src/distutils2/dist.py
+++ b/src/distutils2/dist.py
@@ -162,12 +162,12 @@ Common commands: (see '--help-commands' for more)
# 'script_name' and 'script_args' are usually set to sys.argv[0]
# and sys.argv[1:], but they can be overridden when the caller is
- # not necessarily a setup script run from the command-line.
+ # not necessarily a setup script run from the command line.
self.script_name = None
self.script_args = None
# 'command_options' is where we store command options between
- # parsing them (from config files, the command-line, etc.) and when
+ # parsing them (from config files, the command line, etc.) and when
# they are actually needed -- ie. when the command in question is
# instantiated. It is a dictionary of dictionaries of 2-tuples:
# command_options = { command_name : { option : (source, value) } }
@@ -422,9 +422,9 @@ Common commands: (see '--help-commands' for more)
command class -- thus, we have to be able to load command classes
in order to parse the command line. Any error in that 'options'
attribute raises DistutilsGetoptError; any error on the
- command-line raises DistutilsArgError. If no Distutils commands
+ command line raises DistutilsArgError. If no Distutils commands
were found on the command line, raises DistutilsArgError. Return
- true if command-line was successfully parsed and we should carry
+ true if command line was successfully parsed and we should carry
on with executing commands; false if no errors but we shouldn't
execute commands (currently, this only happens if user asks for
help).
@@ -571,7 +571,7 @@ Common commands: (see '--help-commands' for more)
if help_option_found:
return
- # Put the options from the command-line into their official
+ # Put the options from the command line into their official
# holding pen, the 'command_options' dictionary.
opt_dict = self.get_option_dict(command)
for (name, value) in vars(opts).items():
@@ -592,7 +592,7 @@ Common commands: (see '--help-commands' for more)
def _show_help(self, parser, global_options=1, display_options=1,
commands=[]):
- """Show help for the setup script command-line in the form of
+ """Show help for the setup script command line in the form of
several lists of command-line options. 'parser' should be a
FancyGetopt instance; do not expect it to be returned in the
same state, as its option table will be reset to make it