Skip to content

Commit

Permalink
chore: update command comment (#3970)
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 authored Oct 31, 2024
1 parent d25c49f commit b6fdcb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cli-reference/dfx-identity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/dfx/src/commands/identity/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b6fdcb3

Please sign in to comment.