Skip to content

Commit 44ee68b

Browse files
committed
chore: clarify id default command purpose
1 parent eb31bd9 commit 44ee68b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/icp-cli/src/commands/identity/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use icp::context::Context;
33
use icp::identity::manifest::{IdentityDefaults, IdentityList, change_default_identity};
44
use tracing::info;
55

6-
/// Display the currently selected identity
6+
/// Display or set the currently selected identity
77
#[derive(Debug, Args)]
88
pub(crate) struct DefaultArgs {
99
/// Identity to set as default. If omitted, prints the current default.

docs/reference/cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ Manage your identities
835835
###### **Subcommands:**
836836

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

874874
## `icp identity default`
875875

876-
Display the currently selected identity
876+
Display or set the currently selected identity
877877

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

0 commit comments

Comments
 (0)