Skip to content

Commit a86957e

Browse files
committed
Fix typo in docs/command output
1 parent 03287c1 commit a86957e

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ composer diff --help # Display detailed usage instructions
7777
- `--with-licenses` (`-c`) - include license information
7878
- `--format` (`-f`) - output format (mdtable, mdlist, json, github) - default: `mdtable`
7979
- `--gitlab-domains` - custom gitlab domains for compare/release URLs - default: use composer config
80-
80+
8181
## Advanced usage
8282

8383
```shell script
@@ -100,15 +100,15 @@ Exit code of the command is built using following bit flags:
100100
* `0` - OK.
101101
* `1` - General error.
102102
* `2` - There were changes in prod packages.
103-
* `4` - There were changes is dev packages.
103+
* `4` - There were changes in dev packages.
104104
* `8` - There were downgrades in prod packages.
105105
* `16` - There were downgrades in dev packages.
106106

107107
You may check for individual flags or simply check if the status is greater or equal 8 if you don't want to downgrade any package.
108108

109109
# Contributing
110110

111-
Composer Diff is an open source project that welcomes pull requests and issues from anyone.
111+
Composer Diff is an open source project that welcomes pull requests and issues from anyone.
112112
Before opening pull requests, please consider reading our short [Contribution Guidelines](docs/CONTRIBUTING.md).
113113

114114
# Similar packages

src/Command/DiffCommand.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,31 +80,31 @@ protected function doConfigure()
8080
To compare with specific branch, pass its name as argument:
8181
8282
<info>%command.full_name% master</info>
83-
83+
8484
You can specify any valid git refs to compare with:
8585
8686
<info>%command.full_name% HEAD~3 be4aabc</info>
87-
87+
8888
You can also use more verbose syntax for <info>base</info> and <info>target</info> options:
8989
9090
<info>%command.full_name% --base master --target composer.lock</info>
91-
91+
9292
To compare files in specific path, use following syntax:
9393
9494
<info>%command.full_name% master:subdirectory/composer.lock /path/to/another/composer.lock</info>
95-
95+
9696
By default, <info>platform</info> dependencies are hidden. Add <info>--with-platform</info> option to include them in the report:
97-
97+
9898
<info>%command.full_name% --with-platform</info>
99-
99+
100100
By default, <info>transient</info> dependencies are displayed. Add <info>--direct</info> option to only show direct dependencies:
101101
102102
<info>%command.full_name% --direct</info>
103103
104104
Use <info>--with-links</info> to include release and compare URLs in the report:
105105
106106
<info>%command.full_name% --with-links</info>
107-
107+
108108
You can customize output format by specifying it with <info>--format</info> option. Choose between <comment>mdtable</comment>, <comment>mdlist</comment> and <comment>json</comment>:
109109
110110
<info>%command.full_name% --format=json</info>
@@ -125,7 +125,7 @@ protected function doConfigure()
125125
* 0 - OK.
126126
* 1 - General error.
127127
* 2 - There were changes in prod packages.
128-
* 4 - There were changes is dev packages.
128+
* 4 - There were changes in dev packages.
129129
* 8 - There were downgrades in prod packages.
130130
* 16 - There were downgrades in dev packages.
131131
EOF

0 commit comments

Comments
 (0)