Skip to content

Commit 48c57f5

Browse files
committed
crc: fix anchor mode error message, #6194
1 parent 76660fb commit 48c57f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stackslib/src/blockstack_cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ fn parse_anchor_mode(
345345
if args[i] == "--microblock-only" {
346346
if idx > 0 {
347347
return Err(CliError::Message(format!(
348-
"Multiple anchor mode detected.\n\nUSAGE:\n{}",
348+
"Multiple anchor modes detected.\n\nUSAGE:\n{}",
349349
usage,
350350
)));
351351
}
@@ -356,7 +356,7 @@ fn parse_anchor_mode(
356356
if args[i] == "--block-only" {
357357
if idx > 0 {
358358
return Err(CliError::Message(format!(
359-
"Multiple anchor mode detected.\n\nUSAGE:\n{}",
359+
"Multiple anchor modes detected.\n\nUSAGE:\n{}",
360360
usage,
361361
)));
362362
}
@@ -1106,7 +1106,7 @@ mod test {
11061106

11071107
let exp_err_msg = format!(
11081108
"{}\n\nUSAGE:\n{}",
1109-
"Multiple anchor mode detected.", PUBLISH_USAGE
1109+
"Multiple anchor modes detected.", PUBLISH_USAGE
11101110
);
11111111
assert_eq!(exp_err_msg, result.unwrap_err().to_string());
11121112
}

0 commit comments

Comments
 (0)