From 5a94a83ad82facf3fe61b390845944d3b1dae191 Mon Sep 17 00:00:00 2001 From: 0x009922 Date: Mon, 26 Jun 2023 07:50:54 +0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Aleksandr Petrosyan Signed-off-by: 0x009922 --- tools/kagami/src/swarm.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/kagami/src/swarm.rs b/tools/kagami/src/swarm.rs index 046c7531976..d224c261c14 100644 --- a/tools/kagami/src/swarm.rs +++ b/tools/kagami/src/swarm.rs @@ -45,9 +45,10 @@ mod clap_args { /// How many peers to generate within the Docker Compose setup. #[arg(long, short)] pub peers: NonZeroU16, - /// Might be useful for deterministic key generation. + /// Used for deterministic key-generation. /// - /// It could be any string. Its UTF-8 bytes will be used as a seed. + /// Any valid UTF-8 sequence is acceptable. + // TODO: Check for length limitations, and if non-UTF-8 sequences are working. #[arg(long, short)] pub seed: Option, /// Re-create the target directory (for `dir` subcommand) or file (for `file` subcommand)