Skip to content

Commit cda9bb4

Browse files
committed
don't show the panic
1 parent 3bbb51f commit cda9bb4

File tree

1 file changed

+1
-1
lines changed
  • crates/icp-cli/src/commands/canister

1 file changed

+1
-1
lines changed

crates/icp-cli/src/commands/canister/create.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub(crate) struct CreateArgs {
7777
/// Create a canister detached from any project configuration. The canister id will be
7878
/// printed out but not recorded in the project configuration. Not valid if `Canister`
7979
/// is provided.
80-
#[arg(long, conflicts_with = "canister")]
80+
#[arg(long, conflicts_with = "canister", required_unless_present = "canister")]
8181
pub detached: bool,
8282
}
8383

0 commit comments

Comments
 (0)