Skip to content

Commit 1772295

Browse files
committed
Fix error messages
1 parent 1870935 commit 1772295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rewatch/src/format_cmd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ pub fn run(
2525
};
2626

2727
if check && stdin_path.is_some() {
28-
bail!("format -stdin cannot be used with -check flag");
28+
bail!("format --stdin cannot be used with --check flag");
2929
}
3030

3131
if all {
3232
if stdin_path.is_some() || !files.is_empty() {
33-
bail!("format -all can not be in use with other flags");
33+
bail!("format --all can not be in use with other flags");
3434
}
3535
format_all(&bsc_exe, check)?;
3636
} else if stdin_path.is_some() {

0 commit comments

Comments
 (0)