From b2eb07f839965dd5f01d7029b1fa3b6d3b4fcfb9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 9 Dec 2023 13:48:37 -0500 Subject: [PATCH] chore: fix typo --- README.md | 18 +++++++++--------- subcommands/clone | 4 ++-- subcommands/create | 4 ++-- subcommands/upgrade | 4 ++-- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c44be33..b7eef21 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,9 @@ flags: - `-m|--memory MEMORY`: container memory limit in megabytes (default: unlimited) - `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to - `-p|--password PASSWORD`: override the user-level service password -- `-P|--post-create-network NETWORKS`: a comman-separated list of networks to attach the service container to after service creation +- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation - `-r|--root-password PASSWORD`: override the root-level service password -- `-S|--post-start-network NETWORKS`: a comman-separated list of networks to attach the service container to after service start +- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start - `-s|--shm-size SHM_SIZE`: override shared memory size for postgres docker container Create a postgres service named lollipop: @@ -85,7 +85,7 @@ Create a postgres service named lollipop: dokku postgres:create lollipop ``` -You can also specify the image and image version to use for the service. It *must* be compatible with the postgres image. +You can also specify the image and image version to use for the service. It _must_ be compatible with the postgres image. ```shell export POSTGRES_IMAGE="postgres" @@ -157,7 +157,7 @@ dokku postgres:info lollipop --version ```shell # usage -dokku postgres:list +dokku postgres:list ``` List all services: @@ -463,9 +463,9 @@ flags: - `-i|--image IMAGE`: the image name to start the service with - `-I|--image-version IMAGE_VERSION`: the image version to start the service with - `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to -- `-P|--post-create-network NETWORKS`: a comman-separated list of networks to attach the service container to after service creation +- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation - `-R|--restart-apps "true"`: whether or not to force an app restart (default: false) -- `-S|--post-start-network NETWORKS`: a comman-separated list of networks to attach the service container to after service start +- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start - `-s|--shm-size SHM_SIZE`: override shared memory size for postgres docker container You can upgrade an existing service to a new image or image-version: @@ -538,9 +538,9 @@ flags: - `-m|--memory MEMORY`: container memory limit in megabytes (default: unlimited) - `-N|--initial-network INITIAL_NETWORK`: the initial network to attach the service to - `-p|--password PASSWORD`: override the user-level service password -- `-P|--post-create-network NETWORKS`: a comman-separated list of networks to attach the service container to after service creation +- `-P|--post-create-network NETWORKS`: a comma-separated list of networks to attach the service container to after service creation - `-r|--root-password PASSWORD`: override the root-level service password -- `-S|--post-start-network NETWORKS`: a comman-separated list of networks to attach the service container to after service start +- `-S|--post-start-network NETWORKS`: a comma-separated list of networks to attach the service container to after service start - `-s|--shm-size SHM_SIZE`: override shared memory size for postgres docker container You can clone an existing service to a new one: @@ -744,7 +744,7 @@ flags: Schedule a backup: -> 'schedule' is a crontab expression, eg. "0 3 * * *" for each day at 3am +> 'schedule' is a crontab expression, eg. "0 3 \* \* \*" for each day at 3am ```shell dokku postgres:backup-schedule lollipop "0 3 * * *" my-s3-bucket diff --git a/subcommands/clone b/subcommands/clone index eb10519..b9d99a3 100755 --- a/subcommands/clone +++ b/subcommands/clone @@ -17,9 +17,9 @@ service-clone-cmd() { #F -m|--memory MEMORY, container memory limit in megabytes (default: unlimited) #F -N|--initial-network INITIAL_NETWORK, the initial network to attach the service to #F -p|--password PASSWORD, override the user-level service password - #F -P|--post-create-network NETWORKS, a comman-separated list of networks to attach the service container to after service creation + #F -P|--post-create-network NETWORKS, a comma-separated list of networks to attach the service container to after service creation #F -r|--root-password PASSWORD, override the root-level service password - #F -S|--post-start-network NETWORKS, a comman-separated list of networks to attach the service container to after service start + #F -S|--post-start-network NETWORKS, a comma-separated list of networks to attach the service container to after service start #F -s|--shm-size SHM_SIZE, override shared memory size for $PLUGIN_COMMAND_PREFIX docker container declare desc="create container then copy data from into " local cmd="$PLUGIN_COMMAND_PREFIX:clone" argv=("$@") diff --git a/subcommands/create b/subcommands/create index 87135e5..1192b59 100755 --- a/subcommands/create +++ b/subcommands/create @@ -25,9 +25,9 @@ service-create-cmd() { #F -m|--memory MEMORY, container memory limit in megabytes (default: unlimited) #F -N|--initial-network INITIAL_NETWORK, the initial network to attach the service to #F -p|--password PASSWORD, override the user-level service password - #F -P|--post-create-network NETWORKS, a comman-separated list of networks to attach the service container to after service creation + #F -P|--post-create-network NETWORKS, a comma-separated list of networks to attach the service container to after service creation #F -r|--root-password PASSWORD, override the root-level service password - #F -S|--post-start-network NETWORKS, a comman-separated list of networks to attach the service container to after service start + #F -S|--post-start-network NETWORKS, a comma-separated list of networks to attach the service container to after service start #F -s|--shm-size SHM_SIZE, override shared memory size for $PLUGIN_COMMAND_PREFIX docker container declare desc="create a $PLUGIN_SERVICE service" local cmd="$PLUGIN_COMMAND_PREFIX:create" argv=("$@") diff --git a/subcommands/upgrade b/subcommands/upgrade index 93352c1..3eeccde 100755 --- a/subcommands/upgrade +++ b/subcommands/upgrade @@ -15,9 +15,9 @@ service-upgrade-cmd() { #F -i|--image IMAGE, the image name to start the service with #F -I|--image-version IMAGE_VERSION, the image version to start the service with #F -N|--initial-network INITIAL_NETWORK, the initial network to attach the service to - #F -P|--post-create-network NETWORKS, a comman-separated list of networks to attach the service container to after service creation + #F -P|--post-create-network NETWORKS, a comma-separated list of networks to attach the service container to after service creation #F -R|--restart-apps "true", whether or not to force an app restart (default: false) - #F -S|--post-start-network NETWORKS, a comman-separated list of networks to attach the service container to after service start + #F -S|--post-start-network NETWORKS, a comma-separated list of networks to attach the service container to after service start #F -s|--shm-size SHM_SIZE, override shared memory size for $PLUGIN_COMMAND_PREFIX docker container declare desc="upgrade service to the specified versions" local cmd="$PLUGIN_COMMAND_PREFIX:upgrade" argv=("$@")