Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
amedumer committed Nov 13, 2023
1 parent 49a3e48 commit 14e631a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/confix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,20 @@ confix set ~/.simapp/config/client.toml chain-id "foo-1" # sets the value chain-

### Migrate

Migrate a configuration file to a new version, you must specify the type of the configuration file (`client` or `app`), e.g.:
Migrate a configuration file to a new version, config type defaults to `app.toml`, if you want to change it to `client.toml`, please indicate it by adding the optional parameter, e.g.:

```shell
simd config migrate v0.47 # migrates defaultHome/config/app.toml to the latest v0.47 config
simd config migrate v0.50 # migrates defaultHome/config/app.toml to the latest v0.47 config
```

```shell
confix migrate v0.47 ~/.simapp/config/app.toml app # migrate ~/.simapp/config/app.toml to the latest v0.47 config
confix migrate v0.50 ~/.simapp/config/app.toml # migrate ~/.simapp/config/app.toml to the latest v0.47 config
```

or

```shell
confix migrate v0.47 ~/.simapp/config/client.toml client # migrate ~/.simapp/config/client.toml to the latest v0.47 config
confix migrate v0.50 ~/.simapp/config/client.toml client # migrate ~/.simapp/config/client.toml to the latest v0.47 config
```

### Diff
Expand Down

0 comments on commit 14e631a

Please sign in to comment.