Skip to content
Snippets Groups Projects
Commit ea0808ac authored by Éloïs's avatar Éloïs
Browse files

[ref] update cli description

parent 451ee7b5
Branches
Tags
No related merge requests found
...@@ -23,7 +23,7 @@ static LANGUAGES_CODES: [&str; 8] = ["en", "zh_HANS", "zh_HANT", "fr", "it", "ja ...@@ -23,7 +23,7 @@ static LANGUAGES_CODES: [&str; 8] = ["en", "zh_HANS", "zh_HANT", "fr", "it", "ja
static WORD_COUNT_VALUES: [&str; 6] = ["9", "12", "15", "18", "21", "24"]; static WORD_COUNT_VALUES: [&str; 6] = ["9", "12", "15", "18", "21", "24"];
#[derive(Debug, StructOpt)] #[derive(Debug, StructOpt)]
#[structopt(name = "example", about = "An example of StructOpt usage.")] #[structopt(name = "dup-mnemotic", about = "DUP mnemotic generator")]
struct Opt { struct Opt {
/// Mnemotic language /// Mnemotic language
#[structopt(short = "l", long = "language", default_value = "en", possible_values = &LANGUAGES_CODES)] #[structopt(short = "l", long = "language", default_value = "en", possible_values = &LANGUAGES_CODES)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment