Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/icp-cli/src/commands/identity/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use icp::context::Context;
use icp::identity::manifest::{IdentityDefaults, IdentityList, change_default_identity};
use tracing::info;

/// Display the currently selected identity
/// Display or set the currently selected identity
#[derive(Debug, Args)]
pub(crate) struct DefaultArgs {
/// Identity to set as default. If omitted, prints the current default.
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ Manage your identities
###### **Subcommands:**

* `account-id` — Display the ICP ledger or ICRC-1 account identifier for the current identity
* `default` — Display the currently selected identity
* `default` — Display or set the currently selected identity
* `delete` — Delete an identity
* `export` — Print the PEM file for the identity
* `import` — Import a new identity
Expand Down Expand Up @@ -873,7 +873,7 @@ Display the ICP ledger or ICRC-1 account identifier for the current identity

## `icp identity default`

Display the currently selected identity
Display or set the currently selected identity

**Usage:** `icp identity default [NAME]`

Expand Down
Loading