From 1c6f847c55b64ca7d61eeb53adf2d475d5d38da3 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 27 Jul 2021 02:27:53 -0400 Subject: [PATCH] docs: update help output --- docs/processes/one-off-tasks.md | 2 +- plugins/run/help-functions | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/processes/one-off-tasks.md b/docs/processes/one-off-tasks.md index 1cc23981e..c303f6f02 100644 --- a/docs/processes/one-off-tasks.md +++ b/docs/processes/one-off-tasks.md @@ -1,7 +1,7 @@ # One-off Tasks ``` -run [ --env KEY=VALUE | -e KEY=VALUE ] # Run a command in a new container using the current application image +run [-e|--env KEY=VALUE] [--no-tty] # 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. diff --git a/plugins/run/help-functions b/plugins/run/help-functions index 0c1671720..83fd875ae 100755 --- a/plugins/run/help-functions +++ b/plugins/run/help-functions @@ -27,7 +27,7 @@ help_desc fn-help-content() { declare desc="return help content" cat < , Run a command in a new container using the current application image - run:detached [--env KEY=VALUE] , Run a command in a new detached container using the current application image + run [-e|--env KEY=VALUE] [--no-tty] , Run a command in a new container using the current application image + run:detached [-e|-env KEY=VALUE] [--no-tty] , Run a command in a new detached container using the current application image help_content }