Skip to content

Two identical command line samples in major.rst #6189

Closed
@slelievre

Description

@slelievre

In http://symfony.com/doc/2.3/cookbook/upgrade/major_version.html section 2), there is a command line sample for upgrading symfony with composer.

$ composer update --with-dependencies symfony/symfony

It mentions the options --with-dependencies. But the next paragraph provides another command line sample which is the same (except the inversed position of option and argument).

$ composer update symfony/symfony --with-dependencies

I think the first sample should not include the --with-dependencies option.

Note that the second paragraph is not visible if you look at the page on github because it comes from an include file (/cookbook/upgrade/_update_dep_errors.rst.inc) which is not rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions