upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sub_commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/sub_commands')
-rw-r--r--src/sub_commands/send.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs
index 6417870..2a6c220 100644
--- a/src/sub_commands/send.rs
+++ b/src/sub_commands/send.rs
@@ -178,12 +178,19 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
178 )?; 178 )?;
179 179
180 println!( 180 println!(
181 "posting {} patches {} a covering letter...", 181 "posting {} patch{} {} a covering letter...",
182 if cover_letter_title_description.is_none() { 182 if cover_letter_title_description.is_none() {
183 events.len() 183 events.len()
184 } else { 184 } else {
185 events.len() - 1 185 events.len() - 1
186 }, 186 },
187 if cover_letter_title_description.is_none() && events.len().eq(&1)
188 || cover_letter_title_description.is_some() && events.len().eq(&2)
189 {
190 "es"
191 } else {
192 ""
193 },
187 if cover_letter_title_description.is_none() { 194 if cover_letter_title_description.is_none() {
188 "without" 195 "without"
189 } else { 196 } else {