We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bbb51f commit cda9bb4Copy full SHA for cda9bb4
crates/icp-cli/src/commands/canister/create.rs
@@ -77,7 +77,7 @@ pub(crate) struct CreateArgs {
77
/// Create a canister detached from any project configuration. The canister id will be
78
/// printed out but not recorded in the project configuration. Not valid if `Canister`
79
/// is provided.
80
- #[arg(long, conflicts_with = "canister")]
+ #[arg(long, conflicts_with = "canister", required_unless_present = "canister")]
81
pub detached: bool,
82
}
83
0 commit comments