docs: update help output
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# One-off Tasks
|
# One-off Tasks
|
||||||
|
|
||||||
```
|
```
|
||||||
run [ --env KEY=VALUE | -e KEY=VALUE ] <app> <cmd> # Run a command in a new container using the current application image
|
run [-e|--env KEY=VALUE] [--no-tty] <app> <cmd> # Run a command in a new container using the current application image
|
||||||
```
|
```
|
||||||
|
|
||||||
Sometimes it is necessary to run a one-off command under an application. Dokku makes it easy to run a fresh container via the `run` command.
|
Sometimes it is necessary to run a one-off command under an application. Dokku makes it easy to run a fresh container via the `run` command.
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ help_desc
|
|||||||
fn-help-content() {
|
fn-help-content() {
|
||||||
declare desc="return help content"
|
declare desc="return help content"
|
||||||
cat <<help_content
|
cat <<help_content
|
||||||
run [--env KEY=VALUE] <app> <cmd>, Run a command in a new container using the current application image
|
run [-e|--env KEY=VALUE] [--no-tty] <app> <cmd>, Run a command in a new container using the current application image
|
||||||
run:detached [--env KEY=VALUE] <app> <cmd>, Run a command in a new detached container using the current application image
|
run:detached [-e|-env KEY=VALUE] [--no-tty] <app> <cmd>, Run a command in a new detached container using the current application image
|
||||||
help_content
|
help_content
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user