Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandr Petrosyan <a-p-petrosyan@yandex.ru>
Signed-off-by: 0x009922 <a.marcius26@gmail.com>
  • Loading branch information
0x009922 and appetrosyan committed Jun 27, 2023
1 parent df962c2 commit e45537f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/kagami/src/swarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>,
/// Re-create the target directory (for `dir` subcommand) or file (for `file` subcommand)
Expand Down

0 comments on commit e45537f

Please sign in to comment.