Skip to content
Commit 865d679f authored by Liu-Cheng Xu's avatar Liu-Cheng Xu
Browse files

Make `--state-version` in storage benchmark command self-descriptive

> Substrate `--dev` should use `V1` and Polkadot `V0`. Selecting the wrong version can corrupt the DB.

Given the help message above, I thought I should use `--state-version
V0` but it turned out `--state-version 0` was expected, which is
misleading. This commit fixes it by adding an enum for specifying
the StateVersion, making the rendered help message accurate and self-descriptive.
parent 6daa939b
Pipeline #481663 waiting for manual action with stages
in 5 minutes and 29 seconds