diff --git a/cli/src/commands/invite/user.rs b/cli/src/commands/invite/user.rs index 3322bb8160f..96a1a4d9206 100644 --- a/cli/src/commands/invite/user.rs +++ b/cli/src/commands/invite/user.rs @@ -9,7 +9,6 @@ crate::clap_parser_with_shared_opts_builder!( #[with = config_dir, device, password_stdin] pub struct Args { /// Claimer email (i.e.: The invitee) - #[arg(short, long)] email: String, /// Send email to the invitee #[arg(short, long, default_value_t)] diff --git a/cli/tests/integration/invitations/user.rs b/cli/tests/integration/invitations/user.rs index 4996ca613e9..f13b85faafc 100644 --- a/cli/tests/integration/invitations/user.rs +++ b/cli/tests/integration/invitations/user.rs @@ -24,7 +24,6 @@ async fn invite_user(tmp_path: TmpPath) { "user", "--device", &alice.device_id.hex(), - "--email", "a@b.c" ) .stdout(predicates::str::contains("Invitation URL:")); diff --git a/newsfragments/9190.feature.rst b/newsfragments/9190.feature.rst new file mode 100644 index 00000000000..b56f83dadc7 --- /dev/null +++ b/newsfragments/9190.feature.rst @@ -0,0 +1 @@ +The CLI command ``invite user`` now take the email as an argument instead of an option