Skip to content

Commit

Permalink
Update markup in migration guide slightly (#709)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmile committed Feb 17, 2020
1 parent 8a0a23d commit 6700edb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/upgrading_to_2_0.md
Expand Up @@ -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
Expand Down

0 comments on commit 6700edb

Please sign in to comment.