From 5e5a2c1c85d09020fb53a0e80db9efee9940e885 Mon Sep 17 00:00:00 2001 From: Scott Lowe Date: Tue, 8 Sep 2020 13:31:41 +0200 Subject: [PATCH] Fix usage info for env rename Change-type: patch Resolves: #2019 Signed-off-by: Scott Lowe --- doc/cli.markdown | 4 ++-- lib/actions-oclif/env/rename.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/cli.markdown b/doc/cli.markdown index 480b3948..03427967 100644 --- a/doc/cli.markdown +++ b/doc/cli.markdown @@ -186,7 +186,7 @@ Users are encouraged to regularly update the balena CLI to the latest version. - [envs](#envs) - [env rm <id>](#env-rm-id) - [env add <name> [value]](#env-add-name-value) - - [env rename <name> <value>](#env-rename-name-value) + - [env rename <id> <value>](#env-rename-id-value) - Tags @@ -1034,7 +1034,7 @@ suppress warning messages service name -## env rename <name> <value> +## env rename <id> <value> Change the value of a configuration or environment variable for an application, device or service, as selected by command-line options. diff --git a/lib/actions-oclif/env/rename.ts b/lib/actions-oclif/env/rename.ts index adb3915a..72006146 100644 --- a/lib/actions-oclif/env/rename.ts +++ b/lib/actions-oclif/env/rename.ts @@ -69,7 +69,7 @@ export default class EnvRenameCmd extends Command { }, ]; - public static usage = 'env rename '; + public static usage = 'env rename '; public static flags: flags.Input = { config: ec.booleanConfig,