mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
Merge pull request #1351 from mchasal/1301-alphabetize_usage
Fix for #1301, Alphabetize Commands
This commit is contained in:
commit
fed4377ef6
@ -75,10 +75,10 @@ class TopLevelCommand(Command):
|
|||||||
docker-compose -h|--help
|
docker-compose -h|--help
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--verbose Show more output
|
|
||||||
--version Print version and exit
|
|
||||||
-f, --file FILE Specify an alternate compose file (default: docker-compose.yml)
|
-f, --file FILE Specify an alternate compose file (default: docker-compose.yml)
|
||||||
-p, --project-name NAME Specify an alternate project name (default: directory name)
|
-p, --project-name NAME Specify an alternate project name (default: directory name)
|
||||||
|
--verbose Show more output
|
||||||
|
-v, --version Print version and exit
|
||||||
|
|
||||||
Commands:
|
Commands:
|
||||||
build Build or rebuild services
|
build Build or rebuild services
|
||||||
@ -88,12 +88,12 @@ class TopLevelCommand(Command):
|
|||||||
port Print the public port for a port binding
|
port Print the public port for a port binding
|
||||||
ps List containers
|
ps List containers
|
||||||
pull Pulls service images
|
pull Pulls service images
|
||||||
|
restart Restart services
|
||||||
rm Remove stopped containers
|
rm Remove stopped containers
|
||||||
run Run a one-off command
|
run Run a one-off command
|
||||||
scale Set number of containers for a service
|
scale Set number of containers for a service
|
||||||
start Start services
|
start Start services
|
||||||
stop Stop services
|
stop Stop services
|
||||||
restart Restart services
|
|
||||||
up Create and start containers
|
up Create and start containers
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
@ -47,6 +47,10 @@ Lists containers.
|
|||||||
|
|
||||||
Pulls service images.
|
Pulls service images.
|
||||||
|
|
||||||
|
### restart
|
||||||
|
|
||||||
|
Restarts services.
|
||||||
|
|
||||||
### rm
|
### rm
|
||||||
|
|
||||||
Removes stopped service containers.
|
Removes stopped service containers.
|
||||||
@ -130,7 +134,7 @@ By default, if there are existing containers for a service, `docker-compose up`
|
|||||||
|
|
||||||
Shows more output
|
Shows more output
|
||||||
|
|
||||||
### --version
|
### -v, --version
|
||||||
|
|
||||||
Prints version and exits
|
Prints version and exits
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user