diff options
Diffstat (limited to 'generic/sodium/examples/generate_keys.rs')
-rw-r--r-- | generic/sodium/examples/generate_keys.rs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/generic/sodium/examples/generate_keys.rs b/generic/sodium/examples/generate_keys.rs index 106830b2b..4186eb4b5 100644 --- a/generic/sodium/examples/generate_keys.rs +++ b/generic/sodium/examples/generate_keys.rs @@ -29,15 +29,18 @@ use std::fs::File; use std::path::PathBuf; #[derive(Parser, Debug)] -#[clap(version, author)] -#[clap(about = "Generate a pair of Sodium's crypto_box_curve25519xsalsa20poly1305 keys.")] +#[clap( + version, + author, + about = "Generate a pair of Sodium's crypto_box_curve25519xsalsa20poly1305 keys." +)] struct Args { /// Path to write the Keys - #[clap(short, long, action)] + #[clap(short, long)] path: PathBuf, /// Write a JSON file instead of a key.prv/key.pub pair - #[clap(short, long, action)] + #[clap(short, long)] json: bool, } |