deps: Rename --list-deps to --show-deps

This commit is contained in:
Stein Magnus Jodal 2013-04-16 23:07:38 +02:00
parent 164eaffea7
commit 466cf3ba33
5 changed files with 11 additions and 8 deletions

View File

@ -55,6 +55,9 @@ and improved.
- The command option :option:`mopidy --list-settings` is now named
:option:`mopidy --show-config`.
- The command option :option:`mopidy --list-deps` is now named
:option:`mopidy --show-deps`.
- What configuration files to use can now be specified through the command
option :option:`mopidy --config`.

View File

@ -52,9 +52,9 @@ mopidy command
together to show the effective document. Secret values like passwords are
masked out. Config for disabled extensions are not included.
.. cmdoption:: --list-deps
.. cmdoption:: --show-deps
List dependencies and their versions.
Show dependencies, their versions and installation location.
.. cmdoption:: --config <file>

View File

@ -27,7 +27,7 @@ with others for debugging.
Installed dependencies
======================
The command :option:`mopidy --list-deps` will list the paths to and versions of
The command :option:`mopidy --show-deps` will list the paths to and versions of
any dependency Mopidy or the extensions might need to work. This is very useful
data for checking that you're using the right versions, and that you're using
the right installation if you have multiple installations of a dependency on

View File

@ -120,9 +120,9 @@ def parse_options():
action='callback', callback=show_config_callback,
help='show current config')
parser.add_option(
b'--list-deps',
action='callback', callback=deps.list_deps_optparse_callback,
help='list dependencies and their versions')
b'--show-deps',
action='callback', callback=deps.show_deps_optparse_callback,
help='show dependencies and their versions')
parser.add_option(
b'--config',
action='store', dest='config',

View File

@ -14,11 +14,11 @@ import pkg_resources
from . import formatting
def list_deps_optparse_callback(*args):
def show_deps_optparse_callback(*args):
"""
Prints a list of all dependencies.
Called by optparse when Mopidy is run with the :option:`--list-deps`
Called by optparse when Mopidy is run with the :option:`--show-deps`
option.
"""
print format_dependency_list()