Add bash information about return codes. (#3547)

* Add bash information about return codes.

* Update shell return values after shin-'s comment
This commit is contained in:
Lucile 2017-06-14 18:55:59 +02:00 committed by Joao Fernandes
parent 4dd375f587
commit df8c9c3e76
1 changed files with 4 additions and 0 deletions

View File

@ -50,3 +50,7 @@ flag.
If you want to force Compose to stop and recreate all containers, use the
`--force-recreate` flag.
If the command encounters an error, it returns `1`.
If user press `ctrl` + `C`, causing stop of the containers, it returns `0`.
If user press `ctrl` + `C` two time, forcing kill of containers, it returns `2`.