Unverified Commit f169b487 authored by Sébastien Eustace's avatar Sébastien Eustace
Browse files

Fix typo and references to poetry.toml/.lock files

parent 03ade36c
Loading
Loading
Loading
Loading
+3 −3
Changes for poetry/console/commands/add.py: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ from .venv_command import VenvCommand

class AddCommand(VenvCommand):
    """
    Add a new depdency to <comment>poetry.toml</>.
    Add a new dependency to <comment>pyproject.toml</>.

    add
        { name* : Packages to add. }
@@ -22,7 +22,7 @@ class AddCommand(VenvCommand):
                     (implicitly enables --verbose). }
    """

    help = """The add command adds required packages to your <comment>poetry.toml</> and installs them.
    help = """The add command adds required packages to your <comment>pyproject.toml</> and installs them.

If you do not specify a version constraint, poetry will choose a suitable one based on the available package versions.
"""
@@ -88,7 +88,7 @@ If you do not specify a version constraint, poetry will choose a suitable one ba
            if not self.option('dry-run'):
                self.error(
                    '\n'
                    'Addition failed, reverting poetry.toml '
                    'Addition failed, reverting pyproject.toml '
                    'to its original content.'
                )

+2 −2
Changes for poetry/console/commands/install.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -15,10 +15,10 @@ class InstallCommand(VenvCommand):
                         (multiple values allowed). }
    """

    help = """The <info>install</info> command reads the <comment>poetry.lock</> file from
    help = """The <info>install</info> command reads the <comment>pyproject.toml</> file from
the current directory, processes it, and downloads and installs all the
libraries and dependencies outlined in that file. If the file does not
exist it will look for <comment>poetry.toml</> and do the same.
exist it will look for <comment>pyproject.toml</> and do the same.

<info>poetry install</info>    
"""
+2 −2
Changes for poetry/console/commands/lock.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -10,8 +10,8 @@ class LockCommand(VenvCommand):
    lock
    """

    help = """The <info>lock</info> command reads the <comment>poetry.toml</> file from
the current directory, processes it, and locks the depdencies in the <comment>poetry.lock</> file.
    help = """The <info>lock</info> command reads the <comment>pyproject.toml</> file from
the current directory, processes it, and locks the depdencies in the <comment>pyproject.lock</> file.

<info>poetry lock</info>    
"""
+1 −1
Changes for poetry/console/commands/remove.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ list of installed packages
            if not self.option('dry-run'):
                self.error(
                    '\n'
                    'Removal failed, reverting poetry.toml '
                    'Removal failed, reverting pyproject.toml '
                    'to its original content.'
                )

+1 −1
Changes for poetry/console/commands/update.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ from .venv_command import VenvCommand

class UpdateCommand(VenvCommand):
    """
    Update dependencies as according to the <comment>poetry.toml</> file.
    Update dependencies as according to the <comment>pyproject.toml</> file.

    update
        { packages?* : The packages to update. }
Loading