From 34069dfef4b2dfeb661540b8ad605986367295dc Mon Sep 17 00:00:00 2001 From: Stanislav Idolov Date: Mon, 23 Apr 2018 14:38:50 +0300 Subject: [PATCH] Updated documentation: ability to switch to default mode --- .../config-guide/cli/config-cli-subcommands-mode.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/guides/v2.2/config-guide/cli/config-cli-subcommands-mode.md b/guides/v2.2/config-guide/cli/config-cli-subcommands-mode.md index 34ee2234829..6110e271ceb 100644 --- a/guides/v2.2/config-guide/cli/config-cli-subcommands-mode.md +++ b/guides/v2.2/config-guide/cli/config-cli-subcommands-mode.md @@ -68,10 +68,6 @@ Command usage: - **`--skip-compilation`** is an optional parameter you can use to skip code compilation when you change to production mode. -
- You cannot currently change from either developer or production mode to default mode. -
- Examples follow. ### Change to production mode @@ -131,6 +127,14 @@ When you change from production to developer mode, you should clear generated cl The following message displays: Switched to developer mode. + +### Change to default mode + + bin/magento deploy:mode:set default + +The following message displays: + + Enabled default mode. ### Run Magento CLI commands from anywhere [Run Magento CLI commands from anywhere]({{page.baseurl}}/config-guide/cli/config-cli.html#config-install-cli-first).