aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-cli/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat-cli/src/commands.rs')
-rw-r--r--fatcat-cli/src/commands.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/fatcat-cli/src/commands.rs b/fatcat-cli/src/commands.rs
index 87a0f5a..da23c34 100644
--- a/fatcat-cli/src/commands.rs
+++ b/fatcat-cli/src/commands.rs
@@ -447,8 +447,12 @@ impl BatchGrouper {
batch_size: u64,
limit: Option<u64>,
auto_accept: bool,
+ editgroup_description: Option<String>,
) -> Self {
- let editgroup_description = "part of a fatcat-cli batch operation".to_string();
+ let editgroup_description = match editgroup_description {
+ Some(ed) => ed,
+ None => "part of a fatcat-cli batch operation".to_string(),
+ };
BatchGrouper {
entity_type,
batch_size,