From b6fdcb314208850320dc76d9f6d563b054347868 Mon Sep 17 00:00:00 2001 From: Severin Siffert Date: Thu, 31 Oct 2024 13:59:11 +0100 Subject: [PATCH] chore: update command comment (#3970) --- docs/cli-reference/dfx-identity.mdx | 2 +- src/dfx/src/commands/identity/import.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cli-reference/dfx-identity.mdx b/docs/cli-reference/dfx-identity.mdx index cd596c4da5..9eac471822 100644 --- a/docs/cli-reference/dfx-identity.mdx +++ b/docs/cli-reference/dfx-identity.mdx @@ -136,7 +136,7 @@ dfx identity export alice >generated-id.pem ## dfx identity import -Use the `dfx identity import` command to create a user identity by importing the user’s key information or security certificate from a PEM file. +Use the `dfx identity import` command to create a user identity by importing the user’s key information or security certificate from a PEM file or seed phrase file. *Password policy*: If an identity is imported using `--storage-mode password-protected`, the following requirements apply to the password: - The password needs to be longer than 8 characters. diff --git a/src/dfx/src/commands/identity/import.rs b/src/dfx/src/commands/identity/import.rs index 4a2d374979..832a4ff5d5 100644 --- a/src/dfx/src/commands/identity/import.rs +++ b/src/dfx/src/commands/identity/import.rs @@ -9,7 +9,7 @@ use std::fs; use std::path::PathBuf; use std::str::FromStr; -/// Creates a new identity from a PEM file. +/// Creates a new identity from a PEM file or seed phrase file. #[derive(Parser)] pub struct ImportOpts { /// The identity to create.