summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-04 20:33:59 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-04 20:33:59 (GMT)
commit18efecf30afce7d2e4da718ae02397834233ed43 (patch)
treeb89bf807c54a5973594ce2e307a630b48e9d52a6 /Lib
parent2ef747cb778a45ec7eb96f5ba5f725bbf53e970c (diff)
downloadcpython-18efecf30afce7d2e4da718ae02397834233ed43.zip
cpython-18efecf30afce7d2e4da718ae02397834233ed43.tar.gz
cpython-18efecf30afce7d2e4da718ae02397834233ed43.tar.bz2
Make help messages in packaging.run more consistent
Diffstat (limited to 'Lib')
-rw-r--r--Lib/packaging/run.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/Lib/packaging/run.py b/Lib/packaging/run.py
index 7e791a4..c17ccfd 100644
--- a/Lib/packaging/run.py
+++ b/Lib/packaging/run.py
@@ -34,14 +34,14 @@ create_usage = """\
Usage: pysetup create
or: pysetup create --help
-Create a new Python package.
+Create a new Python project.
"""
generate_usage = """\
Usage: pysetup generate-setup
or: pysetup generate-setup --help
-Generates a setup.py script for backward-compatibility purposes.
+Generate a setup.py script for backward-compatibility purposes.
"""
@@ -95,7 +95,7 @@ positional arguments:
dist installed distribution name
optional arguments:
- -y auto confirm package removal
+ -y auto confirm distribution removal
"""
run_usage = """\
@@ -217,7 +217,6 @@ def _generate(distpatcher, args, **kw):
print('The setup.py was generated')
-
@action_help(graph_usage)
def _graph(dispatcher, args, **kw):
name = args[1]
@@ -392,10 +391,10 @@ actions = [
('install', 'Install a project', _install),
('remove', 'Remove a project', _remove),
('search', 'Search for a project in the indexes', _search),
- ('list', 'Search for local projects', _list),
+ ('list', 'List installed releases', _list),
('graph', 'Display a graph', _graph),
- ('create', 'Create a Project', _create),
- ('generate-setup', 'Generates a backward-comptatible setup.py', _generate)
+ ('create', 'Create a project', _create),
+ ('generate-setup', 'Generate a backward-comptatible setup.py', _generate),
]