From 6700edb017804e51aec14dedb8df888d1db4e63c Mon Sep 17 00:00:00 2001 From: Eugene Pirogov <207112+gmile@users.noreply.github.com> Date: Mon, 17 Feb 2020 21:29:22 +0200 Subject: [PATCH] Update markup in migration guide slightly (#709) --- docs/upgrading_to_2_0.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/upgrading_to_2_0.md b/docs/upgrading_to_2_0.md index 065c46eb..372125bb 100644 --- a/docs/upgrading_to_2_0.md +++ b/docs/upgrading_to_2_0.md @@ -41,12 +41,11 @@ Here are some examples: 'Application.get_env(:myapp, :foo)'` * `rpcterms calendar valid_date '{2018,1,1}'` becomes `rpc ':calendar.valid_date({2017,1,1})'` -!!! tip - You can build Mix task-like custom commands using `--mfa` and `--argv`, like so: +**Tip**. You can build Mix task-like custom commands using `--mfa` and `--argv`, like so: - ```shell - release_ctl eval --mfa "Mix.Tasks.MyTask.run/1" --argv -- "$@" - ``` +```shell +release_ctl eval --mfa "Mix.Tasks.MyTask.run/1" --argv -- "$@" +``` The end result is that are now just two commands, `rpc` and `eval`, both of which work the exact same way, with the only distinction being the execution environment of the